Regular Expressions 101

Community Patterns

-2

smargs

PCRE2 (PHP >=7.3)
smargs not margins
Submitted by rkatz - 3 years ago
-1

1

PCRE2 (PHP >=7.3)
1
Submitted by anonymous - 2 years ago
-1

213

PCRE2 (PHP >=7.3)
12312
Submitted by anonymous - 2 years ago
-1

is

PCRE2 (PHP >=7.3)
Hi it is me
Submitted by anonymous - 2 years ago
-1

phone

PCRE2 (PHP >=7.3)
regex for phone
Submitted by anonymous - a year 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