Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python regex replace all non alphanumeric characters

import re

s = re.sub('[^0-9a-zA-Z]+', '*', s)
 
PREVIOUS NEXT
Tagged: #python #regex #replace #alphanumeric #characters
ADD COMMENT
Topic
Name
8+5 =