I was wondering how to use a regexp to match a phrase that comes after a certain match. Like:
var phrase = \"yesthisismyphrase=thisiswhatIwantmatched\"; var
If you want to get value after the regex excluding the test phrase, use this: /(?:phrase=)(.*)/
/(?:phrase=)(.*)/
the result will be
0: "phrase=thisiswhatIwantmatched" //full match 1: "thisiswhatIwantmatched" //matching group