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 5,740 community submitted regex patterns...
3
Email
ECMAScript (JavaScript)
This is a bit simpler version that is still quite robust. It was taken from a Formik example.
Submitted by
codefinity
-
4 years ago
3
discord invite link
ECMAScript (JavaScript)
detect discord invite links such as: discord.gg/link discord.com/invite/link .gg/link .com/invite/link...
Submitted by
padero
-
3 years ago
3
Viet Nam Phone Number
ECMAScript (JavaScript)
Viet Nam Phone Number Regex. This regex include: Cellphone number: Viettel, Vinaphone, Mobiphone, Vietnamobile, Iteltelecom, Reddi (055) Telephone number (such as: 024, 028,...) Start with Exactly 10 or 11 numbers
Submitted by
tuangt12
-
3 years ago
8
Extract Protocol, URL, URL Path, get parameters and hash from URI
Python
This is simplified from my last submission.
Submitted by
Dale O'Brien
-
10 years ago
7
split URL into location-resource-params (JavaScript)
ECMAScript (JavaScript)
Extract resource location, name and query parameters from a URL (JavaScript version)
Submitted by
cebence
-
10 years ago
6
search word with an accent
ECMAScript (JavaScript)
search any word with an accent
Submitted by
Thegner Pierre
-
9 years ago
5
Password strength
ECMAScript (JavaScript)
Regular expression for password validation Rules: 8-120 chars no spaces must contain at least one a-z char must contain at least one A-Z char...
Submitted by
@razvanz
-
9 years ago
5
North American Phone Number
ECMAScript (JavaScript)
Validate North American phone numbers with capture groups for the Area Code, Exchange Code, Line Number, and Extension.
Submitted by
AaronBoots
-
8 years ago
6
Password
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
(Last modified a year ago)
14
Phone Number
ECMAScript (JavaScript)
Allows phone numbers with optional country code, optional special characters and whitespace
Submitted by
Tlmader
-
9 years ago
9
domain - host
Python
no description available
Submitted by
anonymous
-
9 years ago
16
Password
ECMAScript (JavaScript)
Safe Password that allow only with a number, a lowercase, a uppercase, and a special character
Submitted by
davidlondono
-
9 years ago
16
http url regex
ECMAScript (JavaScript)
general purpose HTTP URL regex
Submitted by
Miguel Castillo @manchagnu
-
9 years ago
7
Split quotes and single words
ECMAScript (JavaScript)
Find " and ' quoted strings and "orphaned"/single words in a string
Submitted by
LoveIsGrief
-
11 years ago
12
Full name (Turkish)
ECMAScript (JavaScript)
Matches case insensitive first name, optional unlimited number of middle names and last name separated with space format. Replaced \w with explicit char range for Turkish support. (Äž accepted as first char not to over complex)
Submitted by
CKK
-
10 years ago
5
RegEx to validate oAuth 2.0 redirect_uri
ECMAScript (JavaScript)
A simple RegEx rule which should validate redirect_uri for oAuth2
Submitted by
Vlad Miller
-
10 years ago
5
youtube url match
ECMAScript (JavaScript)
extract video id, index, play list id from youtube URL
Submitted by
anonymous
-
9 years ago
5
email (tikhonov)
ECMAScript (JavaScript)
CheckEmail Login start or end simbols [._- ] .login@domain.com - fail -login@domain.com - fail _login@domain.com - fail login.@domain.com - fail...
Submitted by
Tikhonov Alexander <123546.90@mail.ru>
-
9 years ago
(Last modified a year ago)
5
Bible reference extractor
Python
For scraping http://skepticsannotatedbible.com/
Submitted by
antaytheist-owner
-
9 years ago
6
Find consecutive duplicate words
Python
no description available
Submitted by
anonymous
-
9 years ago
1
...
282
283
284
285
286
287
Community Library Entry
0
Regular Expression
Python
r"
[
\d
]
+
\.
(
[
\s\S
]
*
?
)
\n
+
A
.
(
[
\s\S
]
*
?
)
\n
+
B
.
(
[
\s\S
]
*
?
)
\n
+
C
.
(
[
\s\S
]
*
?
)
\n
+
D
.
(
[
\s\S
]
*
?
)
(?=
\n
)
"
g
Open regex in editor
Description
对有ABCD四个选项的选择题题目进行匹配
Submitted by
Wang Miao
-
a year ago