This wouldn't work correctly if key is array and you need to filter by multiple of them:
> "[[1,2,3],[4,5,6]]".match(/(\[.*?\])/g)
> ["[[1,2,3]", "[4,5,6]"]