Actually that regex says to replace all of the characters that the poster
wants to keep. It should be [^A-Za-z0-9 ]

.... or one of the others that I posted

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


-----Original Message-----
From: Mike Chabot [mailto:[EMAIL PROTECTED] 
Sent: Sunday, April 20, 2008 5:18 PM
To: CF-Talk
Subject: Re: Remove everything but numbers and letters from a string

The regex to use would look like this "[A-Za-z0-9 ]"

-Mike Chabot

On Sun, Apr 20, 2008 at 5:17 PM, Mike Chabot <[EMAIL PROTECTED]> wrote:
> ReReplace() would work.
>
> -Mike Chabot
>
> On Sun, Apr 20, 2008 at 4:57 PM, Steve Sequenzia <[EMAIL PROTECTED]> wrote:
> > 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:303841
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