I have a string like
\"xdtwkeltjwlkejt7wthwk89lk\"
how can I get the index of the first digit in the string?
import re result = " Total files:................... 90" match = re.match(r".*[^\d](\d+)$", result) if match: print(match.group(1))
will output
90