Thanks, worked great for me.

- Matt Small

-----Original Message-----
From: Michael Dinowitz [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, April 17, 2002 4:25 PM
To: CF-Talk
Subject: Re: Regex

REReplace(string, '[^0-9]', '', 'all')
this says find anything that is not 0-9 and replace it with nothing.

At 04:26 PM 4/17/02, you wrote:
>Anybody got a regex that will remove anything except numbers from a
>string?
>
>Thanks,
>Matt Small
>
>

______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to