From Wiki

Regex: HomePage

Reqular Expressions

Checks domain names:

^([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,6}$

Checks emails:

^([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})(\]?)$

Kaynaklar:

Retrieved from http://kozgun.net/wiki/pmwiki.php?n=Regex.HomePage
Page last modified on July 15, 2008, at 01:52 AM