This content has been marked as final. Show 6 replies
Try this option
Have you tried to flip the *. to .*
I learned:<br /><myB>.+<myB> <br />This does work. "Plus" means "any quantity" (of any characters - ".")<br />Great!
Actually, + signifies one or more. * signifies zero or more.
You'll need<br />><myB>.+?<myB><br /><br />Without that question mark the expression matches everything between the first and the last <myB> in the document (or strory maybe), including any <myB> that intervene. If there's a chance that the <myB> codes span a return, enable single-line processing, as the dot doesn't match returns:<br /><br />(?s)<myB>.+?<myB><br /><br />Peter
Many thanks, Peter.
Now, with your string it does work exactly.