I have various HTML documents and particular items have been tagged like this

<FONT FACE="CustomFont 1" SIZE=2>2</Font>

in the above tag the value between the font tag is 2. sometimes the value will be like this

<FONT FACE="CustomFont 1" SIZE=2>2 3 4

where 3 and 4 denotes some specification .

and they have been wrongly tagged like this

<FONT FACE="CustomFont 1" SIZE=2>2 </FONT>3 4

whereas it should have been tagged like this

<FONT FACE="CustomFont 1" SIZE=2>2 </FONT>
<FONT FACE="CustomFont 1" SIZE=2>3</FONT>
<FONT FACE="CustomFont 1" SIZE=2>4</FONT>

Now i have many html docs like this and frankly its has given me a splitting headache...doing it manually.

How can i find these tags and replace them

Note Size=2 this number could vary for every tag
"CustomFont 1" is the font that's being used.


Thanks in advance