Suggestion on how to replace

General discussions about Advanced Find and Replace
Post Reply
anmldr
Posts: 19
Joined: Mon Jan 31, 2005 5:32 pm

Suggestion on how to replace

Post by anmldr »

I have a lot of lines on pages like this:
<p>§&nbsp;&nbsp;<a href="mywebpage.htm">Treatment</a></p>
and
<p>§&nbsp;&nbsp;<a href="yourwebpage.htm">Another Treatment</a></p>
I want to change it to this
<tr><td><font><a href="mywebpage.htm">Treatment</a></font></td></tr>
and this
<tr><td><font><a href="yourwebpage.htm">Another Treatment</a></font></td></tr>
The first part "
<p>§&nbsp;&nbsp;<a
" is easy to replace with "
<tr><td><font><a
" since this is unique.

The problem is that there are other lines that also end with "
</a></p>
" and I don't want to replace then with "
</a></font></td></tr>
"

Any suggestions?

Linda

Post Reply