i need help with a regex.
The string is
10000 BBBE TE SE (FF) !
mY Regex is
The final bracket can exist as well as not, in case not exist, i want to take in group 1 the entire number value and in group 2 all the text after the numbers.
If the final bracket exists, then I want all the text value (including any spaces) after the numbers and up to the parenthesis.
With my regex at the moment group 2 takes all the text after the numbers. For the numeric value, on the other hand, I have no problem