Originally Posted by iblesq
Task: find all strings (in html view), containing "XXX</p>", where XXX - any character, partial string, etc, but not ".</p>"; add an extra line break after </p> (but not after .</p>).
I need to use RegEx in "find and replace" dialog. I found the proper RegEx for searching - ([^\.](</p>)), but i cannot just add after the string I found a new string - <br/>, in the dialog, i.e. it just replace THE WHOLE string with what is written in "replace" field. in other words, the "replace with " field doesn't support RegEx.
Any ideas how just add something new (new string) using "find and replace" and RegEx?
This should work.. Not tested
Minimal Match, (do not match case)
Replace: \1<br />
I included a straight quote for phrases that end that way. remove if not wanted.
match a thru z or quote and a close p tag
replace with what we found and a <br />