Chnaging a section based on the line above?
Posted: Tue Apr 14, 2009 2:26 pm
Trying to figure this one out, I'm cleaning up html docs and I am trying to get some formatting done. I need to do the following replacement on about 80-90 sections.
Find
<DIV align=right><B>a bunch of text here</B></DIV>
<DIV> More text here as well</DIV>
replace
<DIV align=right><B>a bunch of text here</B></DIV>
<DIV height="30">More text here as well</DIV>
Basically I just need to change
<DIV>
To
<DIV height="30">
When the line above it starts with <DIV align=right><B>
Any thoughts?
Thanks
-Joe
Find
<DIV align=right><B>a bunch of text here</B></DIV>
<DIV> More text here as well</DIV>
replace
<DIV align=right><B>a bunch of text here</B></DIV>
<DIV height="30">More text here as well</DIV>
Basically I just need to change
<DIV>
To
<DIV height="30">
When the line above it starts with <DIV align=right><B>
Any thoughts?
Thanks
-Joe