Answers for "exclude non letter elements from a python string"

3

python remove non letters from string

def nospecial(text):
	import re
	text = re.sub("[^a-zA-Z0-9]+", "",text)
	return text
Posted by: Guest on May-31-2020

Code answers related to "exclude non letter elements from a python string"

Python Answers by Framework

Browse Popular Code Answers by Language