Page 1 of 1

Help with search/replace or macro

Posted: Sat Jul 19, 2003 2:35 pm
by mo
Here's one I have to deal with all the time: putting aside good form for ease of editing, I separate paragraphs with a linespace (html). What I need is a way to separate two lines that are not separated:

</p>
<p>

using word wrap with line-endings not showing (no \n)s

to get:

</p>

<p>

Any help appreciated.

Posted: Sat Jul 19, 2003 3:02 pm
by bbadmin
Try this regular expression:

Find what: </p>\n<p>
Replace with: </p>\n\n<p>

I hope it helps.

Keith MacDonald
Helios Software Solutions

Posted: Sat Jul 19, 2003 3:41 pm
by mo
Thanks, but I had tried this. I think it's the \n things. I dont show them.

What I get when I use this is: "Cannot find literal string"....


AH!!!
Need to use "Regular Expression" for this!

Sorry...I've only been frustrated by this problem for a year or so...haha.