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

Popular posts from this blog

Menambahkan Library Path Pada Pycharm

Dark ozpy