rereplace(lastName, "[^[:alpha:]#*/-]", "", "all")
not sure if any of those are special characters what'd need to be escaped or not... On 8/7/06, Rick Root <[EMAIL PROTECTED]> wrote: > I need to remove all characters from a string that are *NOT* the following: > > A-Z > # > * > / > - > > currently, my regex looks like this: > > REReplace(lastName,"[^[:alpha:]]","","ALL"))) > > Clearly, I've got to add the other characters in, but I'm not sure quite > where to put them. > > Rick > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:248994 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

