it. Thanks for the help!
Brian
-----Original Message-----
From: Pascal Peters [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 24, 2004 1:05 PM
To: CF-RegEx
Subject: RE: How would this be done...
Just add them to the class. You would need to escape ] and \
REFind ("[EMAIL PROTECTED]/\\_~`[\]{}]", newPW). In a class, each character
represents itself. You can define ranges with - like a-z based on the
ascii code
> -----Original Message-----
> From: Yager, Brian CTR [mailto:[EMAIL PROTECTED]
> Sent: dinsdag 24 februari 2004 20:00
> To: CF-RegEx
> Subject: RE: How would this be done...
>
> I think I'm going to use what you originaly showed me
> refindnocase(string, "[^0-9a-z]") (The ^ means not correct?)
>
> but...if I wanted to add the following characters to
> {}/\_~`[]{} to REFind ("[EMAIL PROTECTED]", newPW), how would I do this?
> I really want to learn how this works.
>
> Thanks
>
> Brian
>
> -----Original Message-----
> From: Ben Doom [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 24, 2004 12:43 PM
> To: CF-RegEx
> Subject: Re: How would this be done...
>
>
> > REFind ("[A-Z]", newPW) This is looking for any capital letter...
> Correct.
> > REFind ("[a-z]", newPW) This is looking for any lower case
> letter...
> Correct.
> > REFind ("[EMAIL PROTECTED]", newPW) Does the \ at the begining escape
> everything
> after
> > it or is it just escaping the !?
>
> I don't think you need to use the backslash to escape anything.
>
> > Also,
> > Does this work for all of the special characters on the keyboard?
> > Things like a period, or comma, or brackets?
>
> If you go to http://www.asciitable.com you can see what it covers.
> Basically, this is most of the special characters on the
> keyboard (not including brackets, braces, tilde, etc.) and numbers.
>
> --Ben Doom
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
