RE: REGEX for everything but numbers and a dot (.)

2000-11-21 Thread Russel Madere
some days the bear eats you. > -Original Message- > From: Rob Keniger [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 21, 2000 00:51 > To: CF-Talk > Subject: Re: REGEX for everything but numbers and a dot (

Re: REGEX for everything but numbers and a dot (.)

2000-11-21 Thread Rob Keniger
on 11/21/00 12:07 PM, David Cummins at [EMAIL PROTECTED] wrote: > I'm not so sure about the second set of square brackets... wouldn't [^.0-9] do > the trick? Don't you also need to escape the dot since it matches all characters? eg. [^\.0-9] -- Rob Keniger big bang solutions

Re: REGEX for everything but numbers and a dot (.)

2000-11-20 Thread David Cummins
I'm not so sure about the second set of square brackets... wouldn't [^.0-9] do the trick? David Cummins Russel Madere wrote: > > Will [^[.0-9]] work as regular expression for everything but numbers and a > dot (.)? > > I tried it, but it doesn't seem to be removing anything in a REReplace > fu

Re: REGEX for everything but numbers and a dot (.)

2000-11-20 Thread Michael Dinowitz
It will, but your regex is miswritten. will remove all non-numbers or periods. Remember that this includes spaces and other 'whitespace'. > Will [^[.0-9]] work as regular expression for everything but numbers and a > dot (.)? > > I tried it, but it doesn't seem to be removing anything in a RERep

REGEX for everything but numbers and a dot (.)

2000-11-20 Thread Russel Madere
Will [^[.0-9]] work as regular expression for everything but numbers and a dot (.)? I tried it, but it doesn't seem to be removing anything in a REReplace function. Here is my code. What Am I doing wrong? Russel Madere, Jr.