junior:~$ perl -e 'die if "foo@spammer.tw"=~/^.+\.(?!br|com|net|org)\w ++$/' Died at -e line 1.
OT: I receive much spam from international domains, and with this regexp the msg is sent to a special folder. I don't have problems, because the mailing-lists emails are filtered before.
In reply to Re: Re: Re: Email suffix matching with a negative look-ahead regexp
by jxz
in thread Email suffix matching with a negative look-ahead regexp
by jxz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |