View Single Post
Old 12-23-2007, 01:03 AM   #6 (permalink)
Salathe
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

I know that in the grand scheme of things this post isn't much help, but the regular expression used in the post immediately preceeding this reply really isn't much use. All it does is match a string containing a single alphanumeric character, followed by a dot, followed by between two and six letters (inclusive).

"Domains" (strings) which will be accepted by that expression include:
  • this_is_not_a_real_or_valid_domain.com
  • These are just a couple of sentences.Without a space between them!
  • A.Hitchcock, is a strange domain name.

The bold parts would be what actually matched the pattern.
Salathe is offline  
Reply With Quote