View Single Post
Old 12-22-2007, 08:04 PM   #5 (permalink)
TlcAndres
The Addict
 
Join Date: Nov 2007
Posts: 264
Thanks: 2
TlcAndres is on a distinguished road
Default

hm, well I tried it and be damned the domain bit didn't work, but I kept changing my regex and eregi wouldn't spit out that I'm right so I changed to preg_match() and use a different regex and got it I'll leave it to you to edit it

PHP Code:
preg_match('/[a-zA-Z0-9]\\.[a-zA-Z]{2,6}/Us',$_POST['domain']) 
TlcAndres is offline  
Reply With Quote