...

View Full Version : domain name validation



ShMiL
09-12-2005, 01:06 PM
any1 know of a function for validation of domain names?
regExp preferred.


Thanks.

ShMiL
09-13-2005, 12:04 PM
does any 1 know?

Bullschmidt
09-14-2005, 03:26 AM
Don't know if this might be something like what you're looking for:

Web Wiz Guide - ASP Applications - Whois Lookup
http://www.webwizguide.com/asp/sample_scripts/whois_application.asp
<<
The Web Wiz Guide ASP Whois Lookup application is simple to set and allows your web site visitors to quickly check the availability of a domain name.
>>

ShMiL
09-14-2005, 08:29 AM
it's not what I was looking for, but I used reggexBuddy which's a great tool for regExp!
http://www.regexbuddy.com

the BEST!

I constructed a regexp for validity of israeli domain names (.il):
^[a-z0-9]{1}[a-z0-9]{1,30}[a-z0-9]{1}(\.)[a-z,0-9]{2,4}(\.)(il)$

maybe someone here will need it in the future :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum