Quote:
Originally Posted by anakin_cstrike
doesn't work
www google com
doesn't match
|
Because there's no periods.
Try this if you don't want to require periods.
^(\w*\W+)?([\w\-\s]+\.?)+\s*(c\s*o\s*m|o\s*r\s*g|n\s*e\s*t|m\s*i \ s*l|i\s*n\s*f\s*o|e\s*d\s*u)(\W+\w*)?$
__________________