I need a regular expression to verify various inputs
on my form. I know the base case of:

"^[a-zA-Z0-9]+$"

matches any letter or number. I'm looking for various
input from the list as to what characters should be
allowed in the following fields:

Name: I would think -, ', and space for sure. Anything
else I don't know. I don't know how to write the
expression for this though. I tried escaping the -
like \-, but that doesn't work.

Street Address: Same as above, with #

City: Just '  ??


As I said, I'm looking for input, and how to actually
write these expressions.

TIA all!

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to