> Try: > > <cfset str = "This is a string with £ and ? characters" > > > <cfset str_safe = ReReplaceNoCase(str,"[ [EMAIL PROTECTED]&*+=-]","_","ALL") > > > > <cfset str_safe = ReReplaceNoCase(str_safe,"__","_","ALL") > > <cfset str_safe = ReReplaceNoCase(str_safe,"__","_","ALL") > > <cfset str_safe = ReReplaceNoCase(str_safe,"__","_","ALL") > > > The last 3 functions simply changes long series of ________ into _ for > neatness. > > Cheers, > Martyn
Thanks Martyn, that has worked a treat! Been tearing my hair out trying to get that working until now ;-) Lee ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:249535 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

