eregi
Posted: Thu Aug 09, 2007 10:55 pm
Trying to allow for the hypen and the period in email addresses
My expression is kicking them out
if (!eregi('^[a-z0-9_\-\\.\]+@[a-z0-9_\-\]+\.[a-z]{2,4}$', $field))
What am I missing here?
kevin
My expression is kicking them out
if (!eregi('^[a-z0-9_\-\\.\]+@[a-z0-9_\-\]+\.[a-z]{2,4}$', $field))
What am I missing here?
kevin