Help with Regular Expressions matching
Ian Bicking
ianb at colorstudy.com
Fri Jan 31 03:32:12 EST 2003
On Fri, 2003-01-31 at 01:26, ajit k jena wrote:
> Someone in mailman mailing list suggested a regular expression of the
> form:
>
> ^.*?@(?!your\.domain\.com$)
Try:
(?!your\.domain\.com)$
This will reject any address that doesn't end in your.domain.com.
--
Ian Bicking Colorstudy Web Development
ianb at colorstudy.com http://www.colorstudy.com
PGP: gpg --keyserver pgp.mit.edu --recv-keys 0x9B9E28B7
4869 N Talman Ave, Chicago, IL 60625 / (773) 275-7241
More information about the Python-list
mailing list