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.
2 simple questions
Moderator: General Moderators
- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
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.
As for the second part, the regex board has many examples to learn from.