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
Números decimales y exponenciales aislados
Python
Hace coincidir números decimales y exponenciales aislados para el sistema de numeración decimal. 22e22 22e+22 +22e22 +22e+22 22.22 22. .22 22.e22 22.e+22 22.22e22 22.22e+22 .22e22 .22e+22 88e 88e+ e88 e+88 88e88.
Submitted by
Johnny Alonso
-
3 years ago
(Last modified 3 years ago)
1
todos and tags in code
PCRE2 (PHP >=7.3)
todos and tags in code
Submitted by
anonymous
-
3 years ago
1
Website validation
PCRE2 (PHP >=7.3)
This regex is for validating website url Only accept http and https With or without www With or without subdomain .com or dot any With any sub path...
Submitted by
anonymous
-
3 years ago
1
Regex of name or a firstname
PCRE2 (PHP >=7.3)
Format detected: "Jean" OR "Jean-Pierre" OR "Jean-Marie-Pierre"...
Submitted by
Massinissa CHAOUCHI
-
2 years ago
1
Sri Lankan Land/Fixed-line Telephone Number Validation
PCRE2 (PHP >=7.3)
Sri Lankan Land/Fixed-line Telephone Number Validation This expression validates if a given value is a valid Sri Lankan fixed line / land line telephone number. Sri Lankan land line numbers starts from 0 and does not contain 7 in the 2nd digit, and is 10 digits in length. ...
Submitted by
Isuru Ranawaka
-
2 years ago
1
Sri Lankan Mobile Number Validation
PCRE2 (PHP >=7.3)
See https://en.wikipedia.org/wiki/Telephone_numbers_in_Sri_Lanka
Submitted by
Isuru Ranawaka
-
2 years ago
1
Add commas between numbers
PCRE2 (PHP >=7.3)
This regex separates numbers with commas taking 0 into account.
Submitted by
anonymous
-
2 years ago
1
Regex de validação de número celular e fixo | PHP (PCRE2)
PCRE2 (PHP >=7.3)
Regex validação número celular e fixo Somente números nacionais Com ou sem DDI 55 (com ou sem + e/ou 00) DDD obrigatório (com ou sem parênteses) Com ou sem Dígito 9...
Submitted by
Danillo Dantas
-
2 years ago
1
Regex de validação de número celular e fixo | JS (ECMAScript)
ECMAScript (JavaScript)
Regex validação número celular e fixo Somente números nacionais Com ou sem DDI 55 (com ou sem + e/ou 00) DDD obrigatório (com ou sem parênteses) Com ou sem Dígito 9...
Submitted by
anonymous
-
2 years ago
1
extract url from html markdown
PCRE2 (PHP >=7.3)
222
Submitted by
seocringe
-
2 years ago
1
telephone_founder
Python
with obfuscation
Submitted by
anonymous
-
2 years ago
1
Markdown link
.NET 7.0 (C#)
Regex for parsing markdown link. Named group "text", "url" and "alt.
Submitted by
anonymous
-
2 years ago
1
Sri Lankan National Identity Card and Sri Lanka Identity Number validation
PCRE2 (PHP >=7.3)
Sri Lankans have two types of identifiation numbers. National Identity Card number Sri Lanka Identity Number National Identity Card number...
Submitted by
Isuru Ranawaka
-
2 years ago
1
Get IDs from Discord message link
ECMAScript (JavaScript)
This regex captures the IDs in a message link in separate capture groups. Warning: Due to my personal use case, it doesn't care if it's a real Discord message URL. You can pretty easily add that yourself if you need it tho. Capturing groups: Match 1: The whole ID string starting with / and may be e...
Submitted by
SIMPLE MARK
-
2 years ago
1
nginx access regex loki
Golang
nginx access log regex
Submitted by
Lethisa Putri
-
2 years ago
1
RFC5322-Email-Id-WHATWG
ECMAScript (JavaScript)
RFC5322 with WHATWG standard email id regex pattern
Submitted by
Sivanesan
-
2 years ago
1
ISO 8601:2004E Duration
.NET 7.0 (C#)
Regex for validating ISO 8601:2004E durations, complete with named capture groups.
Submitted by
Sakura Akeno Isayeki
-
2 years ago
1
IP Address
Java 8
(^([0-9]{2,3}.)([0-9]{2,3}.)([0-9]{2,3}.)([0-9]{2,3})$)
Submitted by
anonymous
-
2 years ago
1
S/O 73225392
PCRE2 (PHP >=7.3)
Replaces one style of markdown image with another
Submitted by
anonymous
-
2 years ago
1
Find Matching Parenthesis, Brackets, and Curly Brackets
ECMAScript (JavaScript)
Given a string, find matching parenthesis, brackets, and/or curly brackets.
Submitted by
Matthew Hiebing
-
2 years ago
1
...
781
782
783
784
785
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
(
https
?
:
)?
\/\/
)?
(
(
[
\d\w
]
|
%
[
a
-
fA
-
f
\d
]
{2,2}
)+
(
:
(
[
\d\w
]
|
%
[
a
-
fA
-
f
\d
]
{2,2}
)+
)?
@
)?
(
[
\d\w
]
[
-
\d\w
]
{0,253}
[
\d\w
]
\.
)+
[
\w
]
{2,63}
(
:
[
\d
]
+
)?
(
\/
(
[
-+_~.
\d\w
]
|
%
[
a
-
fA
-
f
\d
]
{2,2}
)*
)*
(
\?
(
&
?
(
[
-+_~.
\d\w
]
|
%
[
a
-
fA
-
f
\d
]
{2,2}
)
=
?
)*
)?
(
#
(
[
-+_~.
\d\w
]
|
%
[
a
-
fA
-
f
\d
]
{2,2}
)*
)?
/
gmi
Open regex in editor
Description
check for urls
Submitted by
naxmefy
-
3 years ago