Answers for "python remove non characters from 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 "python remove non characters from string"

Python Answers by Framework

Browse Popular Code Answers by Language