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...
-1
ISO 8601 datetime for Forecast.io API
PCRE (PHP <7.3)
Should match ISO 8601 datetime for Forecast.io API: [YYYY]-[MM]-[DD]T[HH]:[MM]:[SS] with an optional time zone formatted as Z for GMT time or {+,-}HH (with or without separating colon) for an offset
Submitted by
Clifford Paulick
-
9 years ago
-1
Regex to find begin and end of a HTML tag with a certain class
PCRE (PHP <7.3)
The regex finds for example the random text sequence, if ohne single quotes ar used. The td itself may vary (td, div, span, p and so on), the provided class ist the item searched vor.
Submitted by
xm318
-
9 years ago
-1
Only letters without numbers
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
-1
Arabic AlphaNumeric
ECMAScript (JavaScript)
Arabic AlphaNumeric text
Submitted by
Ahmed
-
9 years ago
-1
Sri Lankan NIC Regex
ECMAScript (JavaScript)
Regular Expression to validate NIC of Sri lankna (National Identity Card)
Submitted by
Sithira Munasinghe
-
8 years ago
-1
IPv4 Matcher
Java 8
This RE is divided into four parts. The first three parts are acceptable numbers from 0 to 255 followed by "." The last part is an acceptable number but not followed by "."
Submitted by
EMAM1999
-
4 years ago
-1
rtrtr
Golang
gtgtg
Submitted by
anonymous
-
4 years ago
-1
T
PCRE2 (PHP >=7.3)
T
Submitted by
me
-
3 years ago
-1
Discord name with both old and new name support
PCRE2 (PHP >=7.3)
This discord regex supports both the new and the old version of discord names. Old: NAME#[0001-9999] Between 2 and 32 characters....
Submitted by
Fy17
-
2 years ago
-3
regex help
PCRE (PHP <7.3)
help please. i need regex,
Submitted by
James
-
10 years ago
-3
Strict email validation
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
-3
Remove special character at first position of string
PCRE (PHP <7.3)
This search for special character at first position in the string
Submitted by
anonymous
-
9 years ago
-3
retrieve hostname without subdomain
PCRE (PHP <7.3)
no description available
Submitted by
Diego Zuluaga
-
9 years ago
-3
TD data from html table
Python
no description available
Submitted by
Deepak Bansal
-
9 years ago
0
Verify and match e-mail address
PCRE (PHP <7.3)
no description available
Submitted by
Josh K
-
11 years ago
0
Simple
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
0
Dotted-decimal IPv4 address
PCRE (PHP <7.3)
Validates an IPv4 address for use as a URI host as defined in RFC-3986.
Submitted by
ezzatron
-
11 years ago
0
Grab text in double square brackets (excluding triple)
PCRE (PHP <7.3)
no description available
Submitted by
Petah
-
11 years ago
0
Date with this format YYYY-MM-DD and year start 20 or 21
PCRE (PHP <7.3)
Date with this format YYYY-MM-DD and year start 20 or 21 like 2014-12-12
Submitted by
cisc0
-
11 years ago
0
IMAP Status Response with MESSAGE and UNSEEN count
PCRE (PHP <7.3)
Matches the folder name (as IMAP ATOM, Quoted String or Literal String) and folder message total and unseen count.
Submitted by
Mike Johnson
-
11 years ago
1
...
533
534
535
536
537
...
902
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
^
P
(
(
\d
+
(
[
,
\.
]
\d
+
)?
Y
)?
(
\d
+
(
[
,
\.
]
\d
+
)?
M
)?
(
\d
+
(
[
,
\.
]
\d
+
)?
D
)?
(
T
(
\d
+
(
[
,
\.
]
\d
+
)?
H
)?
(
\d
+
(
[
,
\.
]
\d
+
)?
M
)?
(
\d
+
(
[
,
\.
]
\d
+
)?
S
)?
)?
$
)
|
(
\d
+
(
[
,
\.
]
\d
+
)?
W
$
)
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
6 years ago