I have the message string as follows.
string=052
I need to use regular expression not split.
I want to return everything past the equals. 052 This is what i tried and gives me id=null
var regex = '[^?string=]';
var id2 = mystring.match(regex);
I have tried online regex checkers and it looks like it matches all but the a
is there a better reg ex i should try? id should not equal null.