I am currently struggling with the problem of catching numbers with REGEX using Java
The string I'm trying to catch the numbers in this string value using REGEX is ..
[TEST][64894]HelloWorld[KGMObilians]
My desire is to catch the numbers that are in [].
Is this possible with Java? I could easily take the number by dividing the string, but the company wants me to use the regex as it is safer and faster. please, help.
source share