Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
[\u4e00-\u9fa5]{3,}(第一|质量|)[\u4e00-\u9fa5]{3,}
"
gm

Description

用"第一|质量|最"这些敏感词来寻找并匹配字符串

Submitted by anonymous - 4 years ago