Regex for finding text which is not preceded by another piece of text
One of the common searches I often want to make using regex is to find a piece of text which is not preceded by another piece of text. For example, earlier today I was searching a C# file for uses of Token but I did not want to find CancellationToken...
techblog.timhilton.xyz1 min read