Skip to navigation
Remove all letters from a string and let only numbers with python
25.11.15
import re numberstringonly = re.sub(r'[^0-9]','', numberstringwithletters)
https://docs.python.org/3.4/library/re.html
Reply
Anonymous
Information Epoch 1746876482
When in doubt, use brute force.
Home
Notebook
Contact us