Re: Search method or RegExp?



Evertjan. wrote:
Ben Amada wrote on 30 aug 2007 in comp.lang.javascript:

On Aug 30, 1:24 am, "Evertjan." <exjxw.hannivo...@xxxxxxxxxxxx> wrote:

Thanks all ... I looked over all the helpful suggestions, and have it
down to a simple one-liner. Evertjan, the last one you posted right
above didn't seem to like an address such as a@xxx

As I an sure the minimum after the last period is TWO letters, Ben,
a@xxx should not be allowed..

Sshh!. Don't tell anyone..

Lets hope the same regexp is used by all the web/net crawlers, or there's gonna be a lot of lookups on the main DNS root servers for domain '.c'

:-)
.