Run
import re str = 'We live at 9-162 Malibeu. My phone number is 666688888.' # Search using regex x = re.findall('[0-9]+', str) print(x)
Output