I find this quite hard to do, the thing is as follows:
I have a string in the form:
GlobalParameters::$docId = DocList::$PARTNERS;
And I want to append the string _VIEW to the end of the symbol. The problem is that I want not only to match PARTNERS but any other symbol too, so I tried this regex:
Find:
GlobalParameters\:\:\$docId\ \=\ DocList\:\:\$(.*)\;
Replace with:
GlobalParameters\:\:\$docId\ \=\ DocList\:\:\$(.*)_VIEW\;
But I just got:
GlobalParameters::$docId = DocList::$(.*)_VIEW;
On all matches. How can I work around this?