M
Morten Snedker
In another thread I found this snippet for validating an e-mail:
^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$
Would someone please help to read this? I don't get the slashes, dots,
plus'es etc.
I've been by
http://msdn.microsoft.com/library/d...en-us/cpgenref/html/cpconcharacterclasses.asp,
but still find it hard to read.
I suppose it's easy enough once you get the idea...but I'm still
clueless!
Regards /Snedker
^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$
Would someone please help to read this? I don't get the slashes, dots,
plus'es etc.
I've been by
http://msdn.microsoft.com/library/d...en-us/cpgenref/html/cpconcharacterclasses.asp,
but still find it hard to read.
I suppose it's easy enough once you get the idea...but I'm still
clueless!
Regards /Snedker