I'm struggling to figure out how to exclude my match from the following sample:
myJavascriptArray(["foo","bar"]);
I can match the string no problem with:
myJavascriptArray\(.+\);
Really, all I want is the ["foo","bar"] part.
I can ignore the myJavascriptArray part using:
(?!myJavascriptArray)\(.+\); // matches (["foo","bar"]);
But then I'm completely lost!