Regular Expressions 101

Community Library Entry

2

Regular Expression
Python

r"
^\W|^\d|^[A-Z ]+$|^[tT]able.+|^[Ff]igure.+|^[fF][aA][Xx].+|^[Ee]mail.+|^EMAIL.+|\.[\w]+\.|\d[\+\-\\\*\/]\d|[\(\)\+\-\\\*\/] [\(\)\+\-\\\*\/]
"
mg

Description

for large corpus cleaning

Submitted by aliabbas petiwala - 9 years ago