try

<CFSET TestString = "whatever you want this string to be">

<CFSET rs = REReplace(TestString, "[^0-9]", "", "ALL")>



chris olive, cio
cresco technologies
[EMAIL PROTECTED]
http://www.crescotech.com



-----Original Message-----
From: Bernd VanSkiver [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 11, 2000 7:56 AM
To: CF-Talk
Subject: Replace


Is there some way to remove anything that is not a number from a string?

Bernd VanSkiver
[EMAIL PROTECTED]
ICQ #: 916324
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to