Page 1 of 1
2 simple questions
Posted: Tue Feb 20, 2007 8:03 am
by psychotomus
How can I check if an email address is in valid format?
#2. Is there a simple way to check if a string contains a-z A-Z 0-9 - _ only.
Posted: Tue Feb 20, 2007 8:14 am
by xinnex
Search the forums for "regexp" and "regular expression", there's lots of resources.
Posted: Tue Feb 20, 2007 9:16 am
by Ollie Saunders
There is a forum dedicated to them on here
Posted: Tue Feb 20, 2007 9:24 am
by feyd
There's a function I've referenced many times called validateEmailFormat that will ... validate an email address to comply with RFC guidelines.
As for the second part, the
regex board has many examples to learn from.