Regular Expressions 101

Community Patterns

7

CSS Import

Python
no description available
Submitted by anonymous - 10 years ago
9

domain - host

Python
no description available
Submitted by anonymous - 8 years ago

匹配中文数字,用于逆向文本标准化

0

Regular Expression
Python

r"
([a-z]\s*)? ( ( [零幺一二两三四五六七八九十百千万点比] |[零一二三四五六七八九十][ ] |(?<=[一二两三四五六七八九十])[年月日号] |(分之) )+ ( (?<=[一二两三四五六七八九十])[a-zA-Z年月日号个只分万亿秒] |(?<=[一二两三四五六七八九十]\s)[a-zA-Z] )? (?(1) |(?(5) |( [零幺一二两三四五六七八九十百千万亿点比] |(分之) ) )+ ) )
"
xig

Description

Loading markdown...
Submitted by HaujetZhao - 9 months ago