Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Re: Re: Match all emails from all subdomains for a domain except one..by hossman (Prior) |
on Aug 09, 2003 at 00:26 UTC ( [id://282348]=note: print w/replies, xml ) | Need Help?? |
...it also needs to fail on anything that isn't example.com Then just move the parens a little bit, and make the specific subdomain optional... /@(?!bar\.)?example\.com$/Update: Oh well, that's why it's called "free advice"
In Section
Seekers of Perl Wisdom
|
|