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 3,400 community submitted regex patterns...
0
CSS @import statement
ECMAScript (JavaScript)
Matches CSS @import statements with media and layer support
Submitted by
anonymous
-
10 months ago
1
Password validation
ECMAScript (JavaScript)
Password requirements: Contains at least one uppercase letter. Contains at least one lowercase letter. Contains at least one digit. Does not contain any whitespace characters. Has a minimum length of 8 characters.
Submitted by
anonymous
-
10 months ago
0
Redis command parser
ECMAScript (JavaScript)
Modified source from https://stackoverflow.com/a/64833638/1454045
Submitted by
Nathaniel Schweinberg
-
10 months ago
0
IPv4-CIDR
ECMAScript (JavaScript)
Match IPv4-CIDR (JavaScript)
Submitted by
fwqaaq
-
10 months ago
0
fcc-title-case-a-sentence
ECMAScript (JavaScript)
a regex to find first letter of each word
Submitted by
anonymous
-
10 months ago
0
Official Emeil validation Regex
ECMAScript (JavaScript)
Regex from the Mail::RFC822::Address: regexp-based address validation Access here
Submitted by
Igor Julliano Aguiar Sotero
-
a year ago
0
Laughter
ECMAScript (JavaScript)
Matches all laughter like: hahahahhhahahahha hahha ahah lol lolollolll...
Submitted by
Prozilla
-
a year ago
0
Egyptian Phone Numbers
ECMAScript (JavaScript)
Validate Egyptian phone numbers ... Read More (Arabic)
Submitted by
Mahmoud Mostafa
-
a year ago
(Last modified a year ago)
0
Egyptian National ID
ECMAScript (JavaScript)
This validates the components of the Egyptian national ID ... See details (Arabic)
Submitted by
Mahmoud Mostafa
-
a year ago
1
match eslint packages other than next.js
ECMAScript (JavaScript)
This could be used to group eslint stuff in renovate config for a next.js project. Since you're intended to keep eslint-plugin-next at the same version as next itself, you would want to group it with next instead. Using negative lookahead we can ignore eslint-config-next (or anything else you may wi...
Submitted by
Mitsunee
-
a year ago
(Last modified a year ago)
0
vscode-f5 xc reserved ports issue #209
ECMAScript (JavaScript)
https://github.com/f5devcentral/vscode-f5/issues/209
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
capture strings between starts and ends line
ECMAScript (JavaScript)
capture any strings between starts and ends line
Submitted by
anonymous
-
a year ago
(Last modified 7 months ago)
0
test
ECMAScript (JavaScript)
test
Submitted by
anonymous
-
a year ago
0
0及最多6位正负整数
ECMAScript (JavaScript)
1、匹配6位以内正负整数 2、可以匹配0 有效例子 0 21...
Submitted by
anonymous
-
a year ago
-1
Matching un-wrapped HTML & CSS code blocks in Markdown
ECMAScript (JavaScript)
PATTERNS RegEx Flavour ECMAScript (JavaScript, ActionScript, TypeScript, etc.) ...
Submitted by
anonymous
-
a year ago
1
Strong Matcher for ISO 8601 / RFC 3339 Date Times; rejects bad TZ offsets, illegal times (Museum of Bad Data)
ECMAScript (JavaScript)
Handles many nuanced cases around time zone offsets, leap seconds and leap days. References: List of UTC Offsets RFC 3339, the stricter rules that most systems use in practice ISO 8601, the widely known name for this format...
Submitted by
Philip Flip Kromer (@mrflip)
-
a year ago
1
Time Zone UTC Offsets in actual use for ISO 8601 / RFC 3339 Date Times (Museum of Bad Data)
ECMAScript (JavaScript)
Time Zone UTC Offsets in actual use for ISO 8601 / RFC 3339 Date Times (Museum of Bad Data) https://regex101.com/library/F21Glr Matches only (and every) UTC offset that is in actual use and valid under ISO 8601 and RFC 3339 (Y'know, the '2008-08-08T08:08:08+05:00' looking one, this is the plus/min...
Submitted by
Philip Flip Kromer
-
a year ago
1
Four-Digit Leap Years post-Y0 (AD/BCE) (Museum of Bad Data)
ECMAScript (JavaScript)
This will match all four-digit years that are leap years, using the "either (multiple of four but not a multiple of 100) OR (multiple of 400)" rule. Explained / ^(...
Submitted by
Philip Flip Kromer
-
a year ago
1
Capture URL without Query Parameters
ECMAScript (JavaScript)
Capture URL without Query Parameters /^(+).*/gm
Submitted by
anonymous
-
a year ago
2
ISD Codes for Phones
ECMAScript (JavaScript)
ISD Codes for Phones Matches the basic format for ISD Codes.
Submitted by
Arvind Singh Rawat
-
a year ago
1
...
4
5
6
7
8
...
170
Polynomial matcher
1
Regular Expression
PCRE (PHP <7.3)
/
^
(
(
(
-
?
\d
*
(
,
\d
+
)?
\*
?
)
|
\d
+
\/
\d
+
)?
(
x
(
\^
-
?
\d
+
)?
)?
)
(
(
\+
|
-
)
(
(
(
-
?
\d
*
(
,
\d
+
)?
\*
?
)
|
\d
+
\/
\d
+
)?
(
x
(
\^
-
?
\d
+
)?
)?
)
)*
$
/
Open regex in editor
Description
Matches every polynomial you want ;)
Submitted by
Stefan Baumann
-
9 years ago