> > I have the following which is supposed to return true if
> > string contains 2 or more numbers - can anyone see what I'm 
> > missing here (it always returns false).
> > 
> > if( not reFindNoCase("([0-9]){2,}", "k7p2oog"){
> >  return true;
> > } else {
> >  return false;
> > }

Also, if you want to find out if there are 2 numbers in the regex, find:

.*[0-9].*[0-9]

Which is, 0 or more of anything, then a number, then 0 or more of
anything, then a number.

Paul



-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to