rereplace(form.field, "[^0-9]+", "", "all")

> -----Original Message-----
> From: Eric Hoffman [mailto:[EMAIL PROTECTED]]
> Sent: Monday, 3 February 2003 2:22 p.m.
> 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
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to