My string is defined as;
var str = 'participant Tracking [[http://www.yahoo.com]] again [[more]]'
var res = str.match(/\[\[(.*[^\]])\]\]/g)
I would like to extract "http://www.yahoo.com" and "more" but I am getting
[ '[[http://www.yahoo.com]] again [[more]]' ]
What should the regex be?