Posted by Sam on 01/27/07 18:42
Validate domain name context
Hello , Today I want to make sure from a given text is a domain style
or not.
for example : the domain can be
example.com or example.com.us or example.us so , what is the pattren
to check the given string is a domain style or not?
note that the first text must be at least 2 chars and the second text
may be 2 or 3 chars and the last text must be 2 chars or null.
Thanks,
Sam Shannaq
Navigation:
[Reply to this message]
|