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 17,920 community submitted regex patterns...
1
For Version Number
PCRE (PHP <7.3)
Validation for version numbers like 33.3.33
Submitted by
Gokul
-
8 years ago
1
parse range
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
ipv6 validation
PCRE (PHP <7.3)
Matches all IPv6 Addresses (without Port) fe80::21d8:f50:c295:c4be 2001:cdba:0000:0000:0000:0000:3257:9652 2001:cdba:0:0:0:0:3257:9652 2001:cdba::3257:9652 2001:cdba::1222...
Submitted by
Aleksandar Trkulja
-
8 years ago
1
ICAO Airline from flight number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
square brackets
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
id number
PCRE (PHP <7.3)
find first letter that matches c or e then ensure remaining line is a digit
Submitted by
anonymous
-
8 years ago
1
Timecode (25fps)
PCRE (PHP <7.3)
Detects all valid 25 fps Timecode in HH:MM:SS:FF format in teh range 00:00:00:00 - 23:59:59:24 range.
Submitted by
anonymous
-
8 years ago
1
4c
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Python
Python
no description available
Submitted by
anonymous
-
8 years ago
1
Cap named group in urls
PCRE (PHP <7.3)
no description available
Submitted by
SPeed
-
8 years ago
1
Shortcode
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
qqq
PCRE (PHP <7.3)
qqqq
Submitted by
anonymous
-
8 years ago
1
stepic python extract domain
Python
no description available
Submitted by
anonymous
-
8 years ago
1
First of tags define
ECMAScript (JavaScript)
Submitted by
regedit
-
8 years ago
1
ps-Aux Named Token capture
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
EIN Validation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
URL
PCRE (PHP <7.3)
separate all parts of an url
Submitted by
Kai
-
8 years ago
1
Dates
PCRE (PHP <7.3)
Date for spanish calendar
Submitted by
gornovah
-
8 years ago
1
The very important regex for every projects
ECMAScript (JavaScript)
This regex can ALL!
Submitted by
YURMATH ER
-
8 years ago
1
Match Hashtags
PCRE (PHP <7.3)
Matches hashtags withing string
Submitted by
Melik Karapetyan
-
8 years ago
1
...
170
171
172
173
174
...
896
匹配中文数字,用于逆向文本标准化
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