DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python remove non letters from string
def nospecial(text): import re text = re.sub("[^a-zA-Z0-9]+", "",text) return text
PREVIOUS
NEXT
Tagged:
#python
#remove
#letters
#string
ADD COMMENT
Topic
COMMENT
Name
7+5 =
Submit