Hi all,

i have html files similar to this

<DIV>A file with tags similar to this</DIV>

<DIV CLASS=LOH>
<FONT COLOR=#1C2A5E SIZE=4>Objectives</FONT>
</DIV>

<DIV CLASS=LOBL>
<FONT COLOR=#FC8051>*</FONT><FONT> Convey the scope of microeconomic theory and explain why theory, in general, is essential to understanding and predicting real-world outcomes.</FONT>
</DIV>

I have to replacement tags for all such tags

example:
<DIV>A file with tags similar to this</DIV>
should be replaced as
<P>A file with tags similar to this</P>


<DIV CLASS=LOH>
<FONT COLOR=#1C2A5E SIZE=4>Objectives</FONT>
</DIV>

should be replaced as

<box id="c##-box-####"><FONT COLOR=#1C2A5E SIZE=4>Objectives</FONT></box>

and so on...


i have used straight forward replacement macros but i am able to change the starting tags only...

how can i specify the full range of text from <DIV..... to </DIV> and replace them with my tag?.

i am currently doing those manually and it is a huge pain. Please help me with a solution as i have many files like these

Thanks in Advance