Regular Expressions 101

Community Patterns

123...6

Community Library Entry

1

Regular Expression
Python

r"
(\\n)|(\\r)|(\\t)|(\u00A9)|([!"#$%&()*+,-./:;<=>?@\[\\\]^_`{|}~])
"
gi

Description

Removes all of the puncutation present inlcuding \n,\t,\r

Submitted by Abhinav Gupta - 10 years ago