Regular Expression to Strip FONT

Regular expression to match style=”everything in here”

style=\"([0-9A-Za-z:\\;\\(\\)%\\-\\.s,\\/]+)\"

Here is the regular expression to strip the font and its contents.

<font[ a-z0-9="#]*>

And here is code to strip SPAN

<span[ a-z0-9="#:-]*>

Leave a Reply

You must be logged in to post a comment.