I have the following string and need to match the continuous numeric part. i.e. matching will fail if a non-numeric character is in the middle of the numeric part
I know I can write a for loop a iterate through each character, but is it possible with regex alone?
the numeric part 00000 will match in these
AAA00000BBB
00000BBB
AAA00000
these will not match
AAA00X00BBB
00X000