/ Published in: Regular Expression
Finds a string that doesn't contain another string. For example, find the text FOO_* that isn't FOO_BAR.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
^FOO(?:(?!BAR).)*$