Here's the regex that would strip out everything but 0-9 and decimal point:
<cfset rawValue = REReplace( form.currency, "[^0-9.]", "", "all" ) /> Of course it becomes more complicated if you're working with international visitors and will receive commas as the radix. Accounting for that is way over my head... enjoy :) Mike Mertsock Alfred University >If it helps you'w need to search the archives or ask for RegEx help, cos >I'm a total novice at em :-) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

