Actionscript 3 regular expression for html special characters

A regular expression I am using to find html special characters. It will find both " & a m p ; " and " & # 1 2 3 ; " types. It is also case-insensitive.

/&[A-Z0-9#][^;\s]+;/i
Anyway, if this fails anyone, lemme know, but so far so good for me.

Loading mentions Retweet

Posted 1 year ago by Paul R 

0 comments

Leave a comment...

 
To leave a comment on this posterous, please login by clicking one of the following.
Posterous-login     twitter