Typo: <cfif REFindnocase("((^|\W)#badword#(\W|$))",clean_skills)>
On Fri, Oct 31, 2008 at 1:09 PM, Sonny Savage <[EMAIL PROTECTED]> wrote: > <cfif REFindnocase("((^|\W)#badword#(\W|$)",clean_skills)> > > > > On Fri, Oct 31, 2008 at 1:04 PM, Matthew Friedman <[EMAIL PROTECTED]>wrote: > >> I just found an issue with this regexp >> >> <cfif REFindnocase("([^a-zA-Z0-9_]#badword#[^a-zA-Z0-9_])",clean_skills)> >> >> this works great if it is not the first word or only word in the string. >> >> what do I need to do to update the regexp to pick up the bad word it is >> the first last or only word in the string also. >> >> Thank you again for all of your help. >> >> Matt >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:314687 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4