View Single Post
  #6 (permalink)  
Old 09-04-2007, 07:25 PM
janpaul janpaul is offline
Registered User
 
Join Date: Sep 2007
Posts: 1
[quote=Till;10687]The sequal is online!
http://www.htmlcenter.com/tutorials/...s.cfm/189/PHP/

sequal? oh well...

^[_a-z0-9-]+(.[_a-z0-9-]+)*@[a-z0-9-]+(.[a-z0-9-]+)*(.[a-z]{2,4})$
so _@-&aa would match, or even -_-_-?_-_@-!-!-.org, but not admin@smithsonian.museum.
Shouldn't all periods be escaped, so \., not just .?
And maybe something to require the parts to start with an alphanumeric character.
Reply With Quote