Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Python

r"
\b([a-z]+(?:[-_]?[a-z])*)\b
"
g

Description

搜索句子中的小写单词

Submitted by enihsyou - 8 years ago