java - How can get numbers between brackets ([ ]) in a string -
i have string it: string msg = "[05] [06] [07] [08] [09] [10] [11] [12] [13] [14] [15] [16]"; and need numbers between brakets in array. can me? pseudo code: string replace '[' '' string replace ']' '' string split @ ' '