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 use the following regex,
\[\[(\d+)\]\]
This will extract 12 from [[12]],23,asd
12
It uses capture groups concept