Hi
thanks for the tip. I still can't get what I want to work. I'm using
Expresso to test.
Basically I want to make sure that if an input text includes a certain
domain then validation fails, e.g.
anyone@not-allowed-domain.com fails
anyone@allowed-domain.com succeeds
Please bear with me as I'm a complete novice with regular expressions.
Thanks again
Andrew
> Hello Andrew,
>
[quoted text clipped - 17 lines]
> Jesse Houwing
> jesse.houwing at sogeti.nl
Jesse Houwing - 05 Mar 2008 11:44 GMT
Hello Andrew,
> Hi
>
[quoted text clipped - 7 lines]
> anyone@allowed-domain.com succeeds
> Please bear with me as I'm a complete novice with regular expressions.
^[^@]+@(?!not-allowed-domain.com$).*$
should do, though it doesn't check the syntax of the email address itself,
it does exclude the domain you want.
Jesse
> Thanks again
> Andrew
[quoted text clipped - 21 lines]
>> Jesse Houwing
>> jesse.houwing at sogeti.nl
--
Jesse Houwing
jesse.houwing at sogeti.n