Negation in regex

For example: if you want get match with word match@mail.com but you want to ignore if the pattern is exclude1@mail.com and anoterone@mail.com so this is the regex pattern to handle it

^(?!exclude1|anotherone).*?@mail.com

Comments

  1. If you'll be able to|you possibly can} afford it, you'll be able to|you possibly can}'t lose by choosing any of my top picks. Interestingly, this seems to use the Ultimakers as inspiration. If you look at at|have a look at} my Ultimaker three or Ultimaker S5 reviews, you will notice that this has the women's fashion rings identical mattress carry mechanism and the identical extruder carriage design.

    ReplyDelete

Post a Comment

Popular posts from this blog

Disable sending telemetry data in DotNet

Running debug SMTP server with python