I need to get all substrings that are placed between 2 signs.
For example substrings placed between ]
and [
:
abcabc]substrings[kkkkkkk]iwant[12345]tohave[!@#$%]
and I get: substrings iwant tohave
I tried (?<=\])(.*)(?=\[)
but it returns substrings[kkkkkkk]iwant[12345]tohave
.