Re: help with sed-friendly regex with negative look-ahead syntax for sendmail

"Rob Kudyba [email protected] [sed-users]" <[email protected]> Thu, 23 Feb 2017 19:45:46 +0000 (UTC)
Newsgroups gmane.editors.sed.user
Message-ID <[email protected]>

I'll try copy/paste as plain text:

This by itself works:[a-zA-Z_0-9.-]+<@[a-zA-Z_0-9-]+?\.+[a-zA-Z_0-9.-]+?\.(us|info|to|br|bid|cn|ru)
I'm just trying to preface that with:(?!.*\@ci\..+?\.us$)(?!.*\@*\..+?\.ny.us$)
Or just:(?!.*\@ci\..+?\.us$)
So the entire regex I have the works on regex testers is: Hide original message(?!.*\@ci\..+?\.us$)(?!.*\@*\..+?\.ny.us$)[a-zA-Z_0-9.-]+<@[a-zA-Z_0-9-]+?\.+[a-zA-Z_0-9.-]+?\.(us|info|to|br|bid|cn|ru)


[Non-text portions of this message have been removed]