View Single Post
Old May 30th, 2007, 6:22 PM   #4
Styx
Programmer
 
Join Date: Mar 2007
Posts: 39
Rep Power: 0 Styx is on a distinguished road
Well, a site name can't have just any printable character. There are specifications.

It would be easier to put a separator of some kind so you can just explode it or split it or something. But if you want to keep it like that, you can check based on tlds.

Also, with regular expressions, any character is represented by a dot: .
^.*$ matches anything
Styx is offline   Reply With Quote