Here’s a regex that I wrote recently to remove CDATA tags from an XML element value: Find What: <!\[CDATA\[(.*)\]\]> Replace With: \1
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).)*$
Here is a regular expression to find lines that end in the word ‘ Fetch’. Note the single space before the word Fetch. ^.* Fetch$ To specify that we need an entire line we place what we’re looking for between ^ and $. To match the parts of the line before our regular expression, we use the .* notation.