Title |
Test
Find
Email Domain
|
Expression |
(([A-Za-z0-9_\\-]+\\.?)*)[A-Za-z0-9_\\-]+\\.[A-Za-z0-9_\\-]{2,6} |
Description |
It checks for the domain name validity. A domain name can't start with a dot(.). It can't have consecutive dots. If there are moe than one dot then there can be only 2 to 6 characters after the final dot. e.g. nitin.athena.com is valid. |
Matches |
athenatechnologies.co.in |
Non-Matches |
.athena.technologies.ccccccccc |
Author |
Rating:
Not yet rated.
Nitin Kumar Aggarwal
|
Source |
i have created it myself. |
Your Rating |
|
Title: Underscore is not valid in a domain name
Name: Randal L. Schwartz
Date: 10/25/2007 3:06:13 PM
Comment:
Please learn to read the RFCs.