Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 9,220 community submitted regex patterns...
0
regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Ignore UPPER() and LOWeR() methods in WHERE clauses
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
hello
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
example
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Regular expression to check MM/YYYY between ranges
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Guid with optional brackets
PCRE (PHP <7.3)
Pattern for a guid with optional brackets: 12345678-1234-1234-1234-123456789012 or {12345678-1234-1234-1234-123456789012}.
Submitted by
anonymous
-
5 years ago
0
Golang function metadata parsing
PCRE (PHP <7.3)
Created out of hubris while working on golang source to lua EmmyLua annotations TODO:* add struct parsing
Submitted by
anonymous
-
5 years ago
0
Relative URI matching
PCRE (PHP <7.3)
Use look-behind look-ahead groups
Submitted by
anonymous
-
5 years ago
0
Word with accent mark or ñ
PCRE (PHP <7.3)
English Will match any word that has an accent mark or the letter 'ñ' on it. Useful for text In spanish. Español ...
Submitted by
anonymous
-
5 years ago
0
Find password in Json
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
pin code in 400 064 format
PCRE (PHP <7.3)
pin code in 400 064 format
Submitted by
anonymous
-
5 years ago
0
1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
11
PCRE (PHP <7.3)
111
Submitted by
anonymous
-
5 years ago
0
Parse Ja or Nei with positive lookahead
PCRE (PHP <7.3)
Parse a Ja or Nei answer from a prompted response
Submitted by
anonymous
-
5 years ago
0
Strip tags problem
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Strip left leading and right ending sections
PCRE (PHP <7.3)
stripping left section up to colon stripping right section from starting on slash
Submitted by
anonymous
-
5 years ago
0
nginx map example1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Array to stdClass
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
select everything in brackets
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
...
169
170
171
172
173
...
461
匹配中文数字,用于逆向文本标准化
0
Regular Expression
Python
r"
(
[
a
-
z
]
\s
*
)?
(
(
[
零幺一二两三四五六七八九十百千万点比
]
|
[
零一二三四五六七八九十
]
[
]
|
(?<=
[
一二两三四五六七八九十
]
)
[
年月日号
]
|
(
分之
)
)+
(
(?<=
[
一二两三四五六七八九十
]
)
[
a
-
zA
-
Z年月日号个只分万亿秒
]
|
(?<=
[
一二两三四五六七八九十
]
\s
)
[
a
-
zA
-
Z
]
)?
(?(1)
|
(?(5)
|
(
[
零幺一二两三四五六七八九十百千万亿点比
]
|
(
分之
)
)
)+
)
)
"
xig
Open regex in editor
Description
大部分应当匹配的数字都匹配上了。
第2个捕获组,即是内容(可能加的有单位,需要手动去除)
Submitted by
HaujetZhao
-
a year ago