I need help trying to get regex to work with double brackets
currently i have this for the regex
(\\[.*?\\])
that allows me to get everything inside a bracket,
HOWEVER my string has double brackets
[DATA1[OTHERDATA]RUBBISH]
the output I get is
[DATA1[OTHERDATA]
is the a way of getting the full bracket including the bracket inside?