I need some kind of method , using regex or split I don't know that does the following.
I have string that looks like this:
ls 0
[0,86,180]
ls 1
[1,2,200]
ls 2
[2,3,180]
ls 3
[3,4,234]
...and so on. I want everything between parenthesis [ ] to be one string inside string array, and everything else disregard