[^ab]+
How can I write code that means match anything that does not contain, for instance, "ah" or "bh"? Would this work:
[^(ah|bh)]+
Or this:
(^(ah|bh))+
In reply to RegEx: How to negate more than one character? by lokiloki
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |