python clean string remove characters other than letters code example
Example: python remove non letters from string
def nospecial(text):
import re
text = re.sub("[^a-zA-Z0-9]+", "",text)
return text
def nospecial(text):
import re
text = re.sub("[^a-zA-Z0-9]+", "",text)
return text