Need a regular expression to parse HTML tags

alletgainty

New Member
Regular expressions are not my forte and could really do with assistance on matching and replacing the following:In a HTML file I have many instances of HTML like this:\[code\]<font class=font8>text text text</font>\[/code\]The font tag can have different content in either single word or multiple word with spaces and maybe numbers.I need to find all instances of this and replace with:\[code\]<span class="bold">(text that was there)</span>\[/code\]ThanksJamesPS: the HTML was generated from word that is why it is so bad :o)
 
Back
Top