Re:Ask HN: Domain name searching
by ratsbane on Sunday April 05, 2009 @07:41AM
(#547298)
That regexp would allow a hyphen as the first character. How about this (still assuming .com is the only permitted TLD):
[a-z0-9][a-z0-9-]*[a-z0-9].com$
[ Parent
| on HN ]
There are no comments on this comment yet.