I am looking for a regex to parse the part between a = and an & to get the first url variable.
Example url:
http://vandooren.be?v=123456&test=123
I need to get the 123456 from the string.
My last try was
var pattern:RegExp = /\=|\&/;
var result:Array = pattern.exec(dg.selectedItem.link[0]);
trace(result.index, " - ", result);
But i am still getting errors.
try this follow code.
Assertions