Hi I need to get a string inside 2 pair of square brackets in javascript using regular expressions.
here is my string [[12]],23,asd
[[12]],23,asd
So far what I tr
You can capture the digits using groups
"[12]],23,asd".match(/\[\[(\d+)\]\]/)[1] => "12"