Python Extracting Numbers From A String Under Certain Conditions

Python Extracting Numbers From A String Under Certain Conditions