开发者

Coldfusion RegEx replace html characters like  

I currently h开发者_StackOverflow社区ave code to remove html from a string:

<cfset arguments.textToFormat = REReplaceNoCase(arguments.textToFormat,"<[^>]*>","","ALL") />

However, this does not remove html characters like &nbsp;

What Regex could I use to ReReplace these characters??

Thanks


For removing &nbsp; and other similar strings :

&[^;]+?;

HTH

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜