Given this exact string:
Name = "John" AND Country = "USA"
I want two matches returned:
Name
Country
I want to match all unquoted whole words as long as they are not in a short list of defined words (e.g. AND, OR)
This will be used in a .NET environment.
This will match any word consisting of alphanumeric and
_characters that is not terminated by a". Excluding the|delimited elements in the(?! ).It should serve your purposes.
Warning, this will match
TomeandandinCountry = "Sao Tome and Principee"