commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Pahne" ...@big1.de>
Subject validator: howto validate domain names
Date Thu, 05 Jun 2003 15:46:52 GMT

Hello,

I wonder how to validate domain names like "apache.org" or
"jakarta.apache.org".

By the way: I am looking only for syntax validation. I'm not interested in
DNS lookups to check, if the given domain exists.

I have no idea how to create a regular expression that handles domains and
subdomains (any level).

Thanks,
Andy


Mime
View raw message