RE: Strip characters?

2003-02-02 Thread Andy Ousterhout
REReplace(string, "[^0-9]","","ALL") -Original Message- From: Eric Hoffman [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 02, 2003 7:22 PM 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 cus

Re: Strip characters?

2003-02-02 Thread Ewok
#blah# - Original Message - From: "Eric Hoffman" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Sunday, February 02, 2003 8:21 PM Subject: Strip characters? > Is there a clean and easy way to simply strip all characters from a > field...so only integers remain? A custom t

RE: Strip characters?

2003-02-02 Thread Mike Townend
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

RE: Strip characters?

2003-02-02 Thread Ben Doom
Doom of the clan of RegEx ninjas says: string = rereplace(string, '[^[:digit:]]', '', 'all'); grashopper. To train at the Dojo of the Regex: http://www.houseoffusion.com/cf_lists/index.cfm?method=threads&forumid=21 -- Ben Doom Programmer & General Lackey Moonbow Software, Inc : -O

RE: Strip characters?

2003-02-02 Thread Matthew Walker
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 on