I am trying to match the substring My Links
with negative lookahead like this
\b(?!My Links)\b
i tried this one too
.*\b(?!My Links)\b
but it matches everything even if I enter My Links. I want to reject any line containing this Substring. Also I must need reference to material which discusses the lookaheads in details. As I tried but there are only recipes of regex and no explaination as to how this works. and checked this link but it is very simple does not discuss complicated stuff.
Edit The sub string must occur on word boundaries