Suppose the string
The solution was in our face. Sorry for my late.
The final regular expression was thus:
The especial character
\b match a boundary word, then, for example, doesn't match: "nonfoo=bar", but match "foo", "foo=bar" and doesn't include nothing before "foo" (works it as positive lookbehind).