summaryrefslogtreecommitdiff
path: root/progs/a536.py
blob: 84f7628f398653e61e9e05de6715e7d06ad942bf (plain)
1
2
3
4
import re
def remove_splchar(text): 
 pattern = re.compile('[\W_]+')
 return (pattern.sub('', text))