I´m trying to get a part of number using Regex in Python, I want to collect the sequence of numbers after 0 (zero) number, like this:
S_9900002127
S_9900000719
S_9900008012
So, in this example above I want to get: 2127, 719 and 8012, and I have done the Regex:
r'(_9(\d*)[.^0](\d*))'
and get the second group of Regex: [2], but the result is: 2127, 719 and 12.
Look that the third one ignore the number 8 because the 0 (zero).
Could someone help me to get the correct result 2127, 719 and 8012 ???