...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 reply to Re: Re: Re: Match all emails from all subdomains for a domain except one..
by hossman
in thread Match all emails from all subdomains for a domain except one..
by ehdonhon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |