Again I am not looking to get JSON.parse and get the json object, I need to find the regex for the pattern.
Try something like:
var matches = text.match(/\[\[.*?\]\]/);
matches will be the matched string.
var matches = text.match(/\[\[(?:\s|.)*?\]\]/);