Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Match all emails from all subdomains for a domain except one.. (tye)

by tye (Sage)
on Aug 09, 2003 at 05:01 UTC ( [id://282376]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    /@(?!bar\.).*\.example\.com$/
    
  2. or download this
    /@(?!bar\.example\.com$).*\.example\.com$/
    
  3. or download this
    my $ex= ".example.com";
    # ...
        if(  /@(?!bar\Q$ex\E$)\Q$ex\E$/  ) {
    
  4. or download this
    my $ex= quotemeta(".example.com");
    # ...
        if(  /@(?!bar$ex$)$ex$/  ) {
    
  5. or download this
    /@(.*\.)?(?!bar\.)[^.]+\.example\.com$/
    
  6. or download this
    /@((.*\.)?(?!bar\.)[^.]+\.)?example\.com$/
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://282376]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-25 08:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found