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 9,740 community submitted regex patterns...
0
parse html h2-3-4 + content in custom [collapse] tags
PCRE (PHP <7.3)
[collapse] tags are replaced with html code attributes
Submitted by
anonymous
-
8 years ago
0
indian car number plate
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Match consecutive 8 identical numbers regardless of any character at start or end with string length between 8 and 20
PCRE (PHP <7.3)
Match 8 or more consecutive digits irrespective of it's position in the string with string length between 8 and 20. ex: 11111111 - match ASD11111111 - match ASD22222222oook - match 777kjoi77777 - no match etc.,
Submitted by
Cyanotrix
-
8 years ago
0
Confirmation 3
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
链接巧妙取数字
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
排除特定字符
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
register
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
FL709 V/D
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
e-mail pca ctq
PCRE (PHP <7.3)
no description available
Submitted by
QPE
-
8 years ago
0
Convert assertEquals to AssertJ Syntax
PCRE (PHP <7.3)
Converts assertEquals("message", expected, actual) to AssertJ syntax Replacement: assertThat(${three}).isEqualTo(${two}).as(${one});
Submitted by
anonymous
-
8 years ago
0
Find Paths
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
IO
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
NUMREG
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
POSREG
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
PRG
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
^(0|[1-9]\d*)$
PCRE (PHP <7.3)
Only input number
Submitted by
anonymous
-
8 years ago
0
name unicode
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Linux Logs
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Find unescaped quotes
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Regex to match key in json
PCRE (PHP <7.3)
((?<=key).*)(?=:|,)
Submitted by
anonymous
-
8 years ago
1
...
25
26
27
28
29
...
487
Community Library Entry
3
Regular Expression
Golang
`
(?i)
^
(?:
(
[
a
-
z0
-
9-
]
+
|
\*
)
\.
)?
(
[
a
-
z0
-
9-
]
{1,61}
)
\.
(
[
a
-
z0
-
9
]
{2,7}
)
$
`
gm
Open regex in editor
Description
Validates subdomain, root domain, and wild card domains
Submitted by
AnonymousDapper
-
8 years ago