I will use my df-validate-domain validator as an example. It validates a domain name.
df-validate-domain
See also: