How to write an excluding RegEx
Say you want to have everthing _except_ things that include a specific string. For this use case you'll have to use a negative lookahead like this:
^(.(?!stringToExclude))*$
Say you want to have everthing _except_ things that include a specific string. For this use case you'll have to use a negative lookahead like this:
^(.(?!stringToExclude))*$