<CFSET iNum = REReplace(sField, "[^[:digit:]]", "", "ALL")>
HTH -----Original Message----- From: Eric Hoffman [mailto:[EMAIL PROTECTED]] Sent: Monday, February 3, 2003 1:22 To: CF-Talk Subject: Strip characters? Is there a clean and easy way to simply strip all characters from a field...so only integers remain? A custom tag or popular reg ex before I reinvent the wheel? Regards, Eric J Hoffman DataStream Connexion www.datastreamconnexion.com Delivering Creative Data Solutions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

