Please help, banging my head against a wall and my deadline is up...
I need to search a text filed of html formatted text to see if the user enter
in "bad words"
I have it all set to go but the regexp is giving me trouble.
I am looping over the list of badwords and checking the variable skills.
<cfif REFindnocase("([\>]+#badword#+[\<])",skills)>
The issue is that if the word "kiss" is a bad word I need to be able to flag it
if it is wrapped by html tags i.e. <br>kiss the pony</br> and I only want kiss
not kissing.
Please help with the regexp to get this done.
Thank you in advance.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314653
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4