/ Published in: Regular Expression
![](/img/icon_sav.png?v3)
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).)*$
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)