rereplace(str, '[^\w ]', '', 'all')

-or-

rereplace(str, '[^a-zA-Z0-9 ]', '', 'all')

-or-

rereplace(str, '[^[:alnum:] ]', '', 'all')


..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com

-----Original Message-----
From: Steve Sequenzia [mailto:[EMAIL PROTECTED] 
Sent: Sunday, April 20, 2008 4:58 PM
To: CF-Talk
Subject: Remove everything but numbers and letters from a string

I am trying to figure out how to remove all characters from a string besides
numbers, letters and spaces.

Can anyone point me in the right direction.

Thanks in advance for any help. 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303838
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to