Regex Text Editor

Regex to find lines that do not contain a certain string value

Here is a regex that finds only those lines that do not contain the particular string value: “find lines without this string”

^((?!find lines without this string).)*$

Leave a Reply

Your email address will not be published. Required fields are marked *

*