Extract Numbers
Problem Given a string with a mixture of letters and numbers, only the numbers are extracted and a natural number is created in that order. If you extract only numbers from “tge0a1h205er”, it is 0, 1, 2, 0, 5, and if you make a natural number from this, it becomes 1205. The natural number produced…