View Single Post
Old 01-10-2011, 09:37 PM   #1
Junior Member
iblesq began at the beginning.
Posts: 1
Karma: 10
Join Date: Jan 2011
Device: none
RegEx find and replace

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?

iblesq is offline   Reply With Quote