What was suggested: Find: _[^>]*<input type="text" data-answer="[^"]*" class="exercice-input">[^ ]* replace: <span>&>/span>
(the _ is a space) Could be change to: Find: (\s+[^>]*<input type="text"\s+data-answer="[^"]*"\s+ class="exercice-input">[^\s]* replace: <span>\1</span> If there can be one space, then usually you can have more than one, so using \s+ covers your spaces. So this should function for you... Wags ;) WagsWorld Hebrews 4:15 Ph(primary) : 408-914-1341 Ph(secondary): 408-761-7391 On Jun 5, 2018, 09:52 -0700, Yannick Duguay <[email protected]>, wrote: > It's getting close i thing but it places the <span> at the end... > > Exemple: L’enf<input type="text" data-answer="ant" > class="exercice-input">t</span><span> > > What i need: <span>L’enf<input type="text" data-answer="ant" > class="exercice-input">t</span> > > Any idea why? > > Le mardi 5 juin 2018 12:31:54 UTC-4, Lewis Butler a écrit : > > On 5 Jun 2018, at 08:19, Yannick Duguay <[email protected]> > > wrote: > > > > > > Mu<input type="text" data-answer="sh" class="exercice-input">room > > > > Find: _[^>]*<input type="text" data-answer="[^"]*" > > class="exercice-input">[^ ]* > > replace: <span>&>/span> > > > > (the _ is a space) > > > > Should do what you said you wanted. > > > > > > -- > > "If it's a hobby to us and a job to you, why are you doing such a shoddy > > job?" - Linus Torvalds to Microsoft > > > -- > This is the BBEdit Talk public discussion group. If you have a > feature request or would like to report a problem, please email > "[email protected]" rather than posting to the group. > Follow @bbedit on Twitter: <http://www.twitter.com/bbedit> > --- > You received this message because you are subscribed to the Google Groups > "BBEdit Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/bbedit. -- This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/bbedit.
