#16956
Stefan
Participant

if I do a search for,

<br in.*>

it should just grab the tag <br indentlevel…> correct?
Well, it is grabbing everything all the way to the end of line and leave the last tag there.
Any thoughts on this one? Thanks.

Please note that regex multiplier like plus and star works greedy in mostly every regex engine, so here too.

Use the non-greedy , frugal switch ‘?‘ to get what you are after:

<br in.*?>

.