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
Community Patterns
Search among 4,640 community submitted regex patterns...
0
Parse filters
PCRE2 (PHP >=7.3)
query string filters
Submitted by
maxime vincent
-
2 years ago
0
check if input is all space
PCRE2 (PHP >=7.3)
title
Submitted by
Anon
-
2 years ago
0
Match numbers separated by comma
PCRE2 (PHP >=7.3)
Match numbers separated by comma
Submitted by
Nedim Rasimoğlu
-
2 years ago
0
Last Name, First Name with some extras
PCRE2 (PHP >=7.3)
Restricts the input of the field to the following format: (Last Name, First Name) The parentheses are included as part of the restriction. Additionally, this formatting allows for hyphenated names, first or last names with more than one word (i.e., Mary Beth, Smith-Doe, etc.).
Submitted by
Alexa
-
2 years ago
0
MPower
PCRE2 (PHP >=7.3)
match facets sizes
Submitted by
simon pa
-
2 years ago
0
ip_adress_ping_regex
Python
link to ip_regex
Submitted by
anonymous
-
2 years ago
0
Zarf docker domain matcher
Golang
Used by Zarf to swap the registry domain/port part an image url without needed the docker libraries. usage in go: func SwapHost(src string, targetHost string) string { var parser = regexp.MustCompile((?im)^([a-z0-9\-.]+\.[a-z0-9\-]+:?[0-9]*)?/?(.+)$) var substitution = targetHost + "/$2" return...
Submitted by
Jeff McCoy
-
2 years ago
0
Zarf localhost test
PCRE2 (PHP >=7.3)
Quick match for *.localhost or localhost used by Zarf
Submitted by
Jeff Mccoy
-
2 years ago
0
Get favicon URL from HTML body
PCRE2 (PHP >=7.3)
Looks for "shortcut icon" or "icon" in a link rel and will strip query strings.
Submitted by
EcoTechie
-
2 years ago
0
Tuổi - Age
PCRE2 (PHP >=7.3)
1
Submitted by
anonymous
-
2 years ago
0
Date/time ago parser
PCRE2 (PHP >=7.3)
Select whole date/time ago stamps, specifically formatted for videos from YouTube.
Submitted by
anonymous
-
2 years ago
0
Họ và tên - Vietnamese Name
PCRE2 (PHP >=7.3)
1
Submitted by
anonymous
-
2 years ago
0
Email
PCRE2 (PHP >=7.3)
1
Submitted by
anonymous
-
2 years ago
0
匹配颜色绿色 黄棕色
Python
是(.*色) 用分组
Submitted by
robin
-
2 years ago
0
Postcode
PCRE2 (PHP >=7.3)
Matches postcodes
Submitted by
anonymous
-
2 years ago
0
bad email_regex matcher
PCRE2 (PHP >=7.3)
Submitted by
unknown
-
2 years ago
0
regex name
PCRE2 (PHP >=7.3)
^A-ZÀ|Á|Ạ|Ả|Ã|Â|Ầ|Ấ|Ậ|Ẩ|Ẫ|Ă|Ằ|Ắ|Ặ|Ẳ|Ẵ|È|É|Ẹ|Ẻ|Ẽ|Ê|Ề|Ế|Ệ|Ể|Ễ|Ì|Í|Ị|Ỉ|Ĩ|Ò|Ó|Ọ|Ỏ|Õ|Ô|Ồ|Ố|Ộ|Ổ|Ỗ|Ơ|Ờ|Ớ|Ợ|Ở|Ỡ|Ù|Ú|Ụ|Ủ|Ũ|Ư|Ừ|Ứ|Ự|Ử|Ữ|Ỳ|Ý|Ỵ|Ỷ|Ỹ|Đ(?: [a-zà|á|ạ|ả|ã|â|ầ|ấ|ậ|ẩ|ẫ|ă|ằ|ắ|ặ|ẳ|ẵ|è|é|ẹ|ẻ|ẽ|ê|ề|ế|ệ|ể|ễ|ì|í|ị|ỉ|ĩ|ò|ó|ọ|ỏ|õ|ô|ồ|ố|ộ|ổ|ỗ|ơ|ờ|ớ|ợ|ở|ỡ|ù|ú|ụ|ủ|ũ|ư|ừ|ứ|ự|ử|ữ|ỳ|ý|ỵ|ỷ|ỹ])*$
Submitted by
anonymous
-
2 years ago
0
italian Region abbreviation
PCRE2 (PHP >=7.3)
For abbreviation made from 2 Case sensitive letters ex: SS,FI,RM,MI etc
Submitted by
gabye
-
2 years ago
0
Sequential ordered list to "lazy" Markdown
PCRE2 (PHP >=7.3)
Convert a normal sequence to a MarkDown "lazy" list which makes for cleaner additions and changes.
Submitted by
anonymous
-
2 years ago
0
Matches to time string: HH:MM
PCRE2 (PHP >=7.3)
Matches to time string: HH:MM
Submitted by
anonymous
-
2 years ago
1
...
154
155
156
157
158
...
232
Address
0
Regular Expression
Golang
`
\(\\
?
\"
(
\d
{1,3}
-
?
\d
{1,3}
?
)
[
,|
\s
]
(
.
*
,
?
.
*
?
,
?
.
*
?
\s
)
(
[
A
-
Z0
-
9
]
{3,4}
\s
[
A
-
Z0
-
9
]
{3}
)
\\
?
\"
?
,
(
[
0
-
9
]
{1,3}
.
[
0
-
9
]
{3,9}
)
,
(
[
-|+|
\s
]
?
[
0
-
9
]
{1,3}
.
[
0
-
9
]
{3,9}
)
\)
`
gm
Open regex in editor
Description
for the demo 2019/09/27
Submitted by
anonymous
-
5 years ago