I am trying to match words using a regular expression, but sadly the word boundary character (\\b) does not include enough characters for my taste, so I want to add more. (i
(no need to escape the + in a character class)
+
The problem is that you use a negative lookahead first whereas you should use a negative lookbehind. Try:
@"(?<![\w+])" + expression + @"(?![\w+])"