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
Latin letters (Basic, extended-a, extended-b) with numbers
PCRE2 (PHP >=7.3)
https://symbl.cc/en/unicode-table/#latin-extended-b
Submitted by
thenostrom
-
12 hours ago
1
匹配文件连接的文件名
PCRE2 (PHP >=7.3)
用于获取文件或者图片链接的文件名包含后缀
Submitted by
anonymous
-
20 hours ago
1
url_validation_url_doğrulama
ECMAScript (JavaScript)
^ - This signifies the start of the expression. https?:// - This matches either "http://" or "https://". (www.)? - This makes the "www." subdomain optional. [A-z0-9]+ - This matches one or more alphanumeric characters for the domain name. . - This matches a literal period character. [A-z0-9]+ - This...
Submitted by
Emre Yıldırım
-
2 days ago
1
email-validation_email_dogrulama
PCRE2 (PHP >=7.3)
^ - This indicates the beginning of the expression. - This part specifies that the first character cannot be a digit, hyphen, or underscore. So the first character must be a letter, period, or other special character. [A-z0-9.-]+ - This part requires the username to contain at least one character...
Submitted by
Emre Yıldırım
-
2 days ago
1
京都市の洛内に表記される通り名を削除する正規表現 A regular expression to remove street names that appear within the Rakunai area of Kyoto City, Japan
PCRE2 (PHP >=7.3)
日本・京都府京都市の住所に通り名が含まれる場合があります。通り名が含まれるとナビアプリに入力したときに検索結果が0件になる場合があります。この場合に通り名を削除するために、通り名を検出する正規表現を考えました。 例えば、「京都府京都市上京区室町通一条上る小島町123-4」であれば「今出川通室町西入ル」が通り名です。 Addresses in Kyoto City, Kyoto Prefecture, Japan, may sometimes include street names. When a street name is included, entering it into a nav...
Submitted by
ゆっくりしてってねー
-
3 days ago
(Last modified 3 days ago)
1
Validate python version
PCRE2 (PHP >=7.3)
Validate accepted patterns from PEP 440
Submitted by
anonymous
-
5 days ago
1
Timestamp Regex
ECMAScript (JavaScript)
matches a timestamp that is in the format of Aug 14, 2024, 10:12 AM or month shortcode followed by day, year, time in 12 hours
Submitted by
astro
-
10 days ago
1
german date era with tolerance: n. Chr. or v. Chr. / n. Ztr of v. Ztr
ECMAScript (JavaScript)
Maches german era notations in date "v. Chr" and "v. Ztr" It is meant to be tolerant : periods and spaces are optional, and it is case insensitive
Submitted by
Olivier CHEVET
-
11 days ago
1
East pointer, reference and const to west.
Python
just as god intended. "T const" -> "const T"
Submitted by
SpaghettDev
-
11 days ago
(Last modified 11 days ago)
1
Split Docker image into image name, tag and digest with all optional
Golang
Splits a Docker image string into the separate parts: image, tag, digest tag and digest are optional
Submitted by
Roemer
-
16 days ago
1
E-mail pattern for html input.
ECMAScript (JavaScript)
Simply e-mail pattern for html tag.
Submitted by
KsaR99
-
16 days ago
1
Validates an IPv4 Address
PCRE2 (PHP >=7.3)
Given a string, the regex would match if it is a valid IPv4 address.
Submitted by
A-Paint-Brush
-
17 days ago
(Last modified 17 days ago)
1
Match Valid C-like String Literal
PCRE2 (PHP >=7.3)
This regex matches a single one-line C-like string literal. The parsing rules are almost exactly the same as C string literals: A string literal can be surrounded by either single or double quotes, but they must match. In a double quoted string, single quotes can optionally not be preceded by a back...
Submitted by
A-Paint-Brush
-
17 days ago
1
Parse C-like Source Line
PCRE2 (PHP >=7.3)
Description This parses a line of C-like source code into the groups `, , , , and `. It should be matched against a line of source code either containing or not containing the line ending. Use Cases ...
Submitted by
A-Paint-Brush
-
17 days ago
(Last modified 17 days ago)
1
Simple but powerful email
ECMAScript (JavaScript)
"/" - start of regular expression "^" - anchor to beginning of string Group: [a-z0-9]+ "[a-z0-9]" - Latin character or digit "+" - occurring ONE or more times...
Submitted by
Diableros [https://github.com/Diableros]
-
17 days ago
(Last modified 17 days ago)
1
Obsidian internal links
PCRE2 (PHP >=7.3)
This should match any valid Obsidian internal links, in either wikilinks or Markdown format. It is designed for use with ICU.
Submitted by
@Calion
-
19 days ago
(Last modified 16 days ago)
1
Get description from metadata GPX file
PCRE2 (PHP >=7.3)
Get description from metadata GPX file
Submitted by
anonymous
-
19 days ago
1
Command line parser
.NET 7.0 (C#)
Supports parameters such as keys and values, also parameters enclosed in quotes.
Submitted by
Pavel Bashkardin
-
20 days ago
(Last modified 20 days ago)
1
test
PCRE2 (PHP >=7.3)
test
Submitted by
anonymous
-
20 days ago
(Last modified 20 days ago)
1
UrlRegex
PCRE2 (PHP >=7.3)
Test for URL regex
Submitted by
anonymous
-
20 days ago
(Last modified 20 days ago)
1
2
3
...
896
IP address without local
1
Regular Expression
.NET 7.0 (C#)
@"
(?<=
(?!
(
https
*
://
)*
(
(
127
)
|
(
192
\.
168
)
|
(
0
\.
0
\.
0
\.
0
)
)
)
(?:
(?:
https
*
://
)
|
^
)
)
(?:
(?:
2
[
0
-
5
]
[
0
-
5
]
|
1
[
0
-
9
]
{2}
|
[
0
-
9
]
{1,2}
)
\.
(?:
2
[
0
-
5
]
[
0
-
5
]
|
1
[
0
-
9
]
{2}
|
[
0
-
9
]
{1,2}
)
\.
(?:
2
[
0
-
5
]
[
0
-
5
]
|
1
[
0
-
9
]
{2}
|
[
0
-
9
]
{1,2}
)
\.
(?:
2
[
0
-
5
]
[
0
-
5
]
|
1
[
0
-
9
]
{2}
|
[
0
-
9
]
{1,2}
)
)
(?=
[^
\d\s
]
|
$
)
"
gm
Open regex in editor
Description
Matches IP addresses excluding local addresses
Submitted by
pvl_zh
-
a month ago