test1 = 'name1'
test2 = 'name2'
..
test3 = 'name45'
test4 = 'name1231231'
Let's say I have bunch of strings which start with 'name' and are followed by a number of any length.
How can I parse out the number in the string?
Is regex the only way or is there a built-in module that can accomplish this task?