I would love to see a domain validator. It could probably be split out from the e-mail validator.
Something along the lines of:
^(?!\-)(?:[a-zA-Z\d\-]{0,62}[a-zA-Z\d]\.){1,126}(?!\d+)[a-zA-Z\d]{1,63}$
Add domain validator, refs #9
I would love to see a domain validator. It could probably be split out from the e-mail validator.
Something along the lines of:
^(?!\-)(?:[a-zA-Z\d\-]{0,62}[a-zA-Z\d]\.){1,126}(?!\d+)[a-zA-Z\d]{1,63}$