regex question
Posted: Sat Oct 25, 2003 12:53 pm
Hi,
can you help me understand the following regex:
I know what it is good for but I would like to understand every detail and learn from it.
thank you
can you help me understand the following regex:
Code: Select all
if(preg_match("/^їa-zA-Z._\\-]+@їa-zA-Z._\\-]{2,}\\.їa-zA-Z]{2,4}\$/",$email) < 1)
{
//invalid
}thank you