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]

Reply via email to