Regular Expressions 101

Community Patterns

0

匹配合法的变量名

Python
\b[a-zA-Z_]\w+
Submitted by anonymous - 4 years ago
0

AMap POI ID

Python
no description available
Submitted by anonymous - 4 years ago

emoticon

-1

Regular Expression
Python

r"
((D|O|0|3|\}|>|\*\<\||\|)?(%|#|\||x|X|B|8|:|;|\=)('|")?(\^|c|-||o|)?(D|\)|\(|c|<|\[|\]|C|{|}|\||\&|>|\||3|Þ|þ|b|p|P|o|O|J|L|S|s|X|\\|\.|/|\$|\*|#|@))
"
g

Description

Loading markdown...
Submitted by Victor Huang - 8 years ago