arst06d
Programmer
- Nov 29, 2002
- 324
Hi
Hope I found the correct forum for this query.
My hosting package uses cPanel (which I believe runs PERL) and I need to set up a mail filter using a regular expression.
I want to accept ONLY aaa@mydomain.com OR bbb@mydomain.com. Anything else is invalid.
At the moment I have this: (aaa|bbb)\@mydomain\.com$
How do I negate it so that anything other than this is rejected?
Can I make the test case insensitive?
Thanks
Hope I found the correct forum for this query.
My hosting package uses cPanel (which I believe runs PERL) and I need to set up a mail filter using a regular expression.
I want to accept ONLY aaa@mydomain.com OR bbb@mydomain.com. Anything else is invalid.
At the moment I have this: (aaa|bbb)\@mydomain\.com$
How do I negate it so that anything other than this is rejected?
Can I make the test case insensitive?
Thanks