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
Most upvotes
Most downvotes
Highest Score
Lowest Score
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 18,040 community submitted regex patterns...
0
yyyy-mm
PCRE (PHP <7.3)
will validate year month format. YYYY-MM
Submitted by
Shyamin Ayesh
-
6 years ago
0
Rig Maya
Python
no description available
Submitted by
Mathieu Bouzard
-
4 years ago
(Last modified 4 years ago)
0
HTTP or HTTPs URL
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
positive lookahead example1
Python
Words before (-) or (+)
Submitted by
anonymous
-
6 years ago
0
positive lookahead example2
Python
Words before ->
Submitted by
anonymous
-
6 years ago
0
Match multiple spaces
Python
Match multiple space appearances
Submitted by
anonymous
-
6 years ago
0
have X shipmet
Python
no description available
Submitted by
anonymous
-
6 years ago
0
Your mom
Python
no description available
Submitted by
anonymous
-
6 years ago
0
capture words with no numbers in them
Python
no description available
Submitted by
anonymous
-
6 years ago
0
Client return check
Python
no description available
Submitted by
anonymous
-
6 years ago
0
Java Log -> Fluentd
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Jenkins Log -> Fluentd
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Jenkins Log -> Fluentd
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Neto Log Line Format
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
前後條件_改中文標點
Python
利用Look_behind 【字串】look_ahead 修改中文標點 【, *] 【,\s*] ➔ 空白0次或多次 【,\s?] ➔ 空白0次或1次 【,\s+] ➔ 空白1次或多次
Submitted by
anonymous
-
6 years ago
0
group catch
Python
搜尋到的內容,區分為\1, \2, 代換到replace的位置 python和其他的程式,用法不同,如:$1,$2
Submitted by
anonymous
-
6 years ago
0
group catch 第二版 (group有名字)
Python
搜尋到的內容,區分為\g, \g, 代換到replace的位置 python和其他的程式,用法不同,如:$1,$2
Submitted by
anonymous
-
6 years ago
0
group catch 第二版 (group有名字)
Python
搜尋到的內容,區分為\g, \g, 代換到replace的位置 python和其他的程式,用法不同,如:$1,$2
Submitted by
anonymous
-
6 years ago
0
group catch (group有名字)
Python
代換搜尋到的兩個group,中間加字
Submitted by
anonymous
-
6 years ago
0
numbers with decimals
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
...
535
536
537
538
539
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
(?:
(?:
\d
|
[
1
-
9
]
\d
|
1
\d\d
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
\.
){3}
(?:
\d
|
[
1
-
9
]
\d
|
1
\d\d
|
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
)
$
/
mg
Open regex in editor
Description
Validates an IPv4 address for use as a URI host as defined in RFC-3986.
Submitted by
ezzatron
-
11 years ago