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...
0
Regex for Nigerian Phone Number
PCRE2 (PHP >=7.3)
As more and more nigerians get new phone numbers daily, the main telcom companies in Nigerian increase the varieties of numbers to accomodate this greater demand. This regex is needed to accomodate the new varieties of accessible numbers
Submitted by
anonymous
-
2 years ago
0
Password, 8 chars, at least one special char
PCRE2 (PHP >=7.3)
Password, 8 chars, at least one special char
Submitted by
Roman Kocherezhchenko
-
2 years ago
0
TRye bracktres
Python
gfhtrgh
Submitted by
anonymous
-
2 years ago
0
ru-urls-to-ua
PCRE2 (PHP >=7.3)
Как превратить русские URL в украинские? Формула в Google Sheets =regexreplace(B20;"ua(\/)";"ua\/ua\/")
Submitted by
@seocringe
-
2 years ago
0
SQL Processes Filter
PCRE2 (PHP >=7.3)
Pattern to detect certain SQL queries in the PROCESSLIST results.
Submitted by
anonymous
-
2 years ago
0
telephone_finder
Python
[-+ ]?[178]?[ ]?\d[ ]?\d[ ]?\d[ ]?\d[ ]?\d[ ]?\d[ ]?
Submitted by
anonymous
-
2 years ago
0
trova percorsi con immagini in un dominio
PCRE2 (PHP >=7.3)
usato per fabbricatorino e sostituzione llaravel asset
Submitted by
anonymous
-
2 years ago
0
回溯条件查找
PCRE2 (PHP >=7.3)
java 似乎不支持 回溯条件查找
Submitted by
anonymous
-
2 years ago
0
Not ending with file ending
PCRE2 (PHP >=7.3)
Not ending with png svg or jpg
Submitted by
anonymous
-
2 years ago
0
Bangladeshi Mobile and Telephone Number
Java 8
Matches with Bangladeshi Mobile and Telephone Numbers
Submitted by
kaziNAHIAN
-
2 years ago
0
my_regex
PCRE2 (PHP >=7.3)
sample regex expression
Submitted by
anonymous
-
2 years ago
0
HTML
PCRE2 (PHP >=7.3)
This regular expression can be used to verify html (by removing the anchor before pair), as well as extract elements of html (specify elements before the pair).
Submitted by
Yubo
-
2 years ago
0
Echo
ECMAScript (JavaScript)
Usage of named capture group.
Submitted by
Abitwhy
-
2 years ago
(Last modified 2 years ago)
0
Descbuilder
PCRE2 (PHP >=7.3)
Filtr indeksów monitorów wg regexp
Submitted by
HSI
-
2 years ago
0
Bandwidth value validation
Python
Bandwidth value validation: 1-1023K 1-1023M 1-40G
Submitted by
Damien Stuart
-
2 years ago
0
test
PCRE2 (PHP >=7.3)
test
Submitted by
anonymous
-
2 years ago
0
PHP quoted string constants parse
PCRE2 (PHP >=7.3)
Sometime we need to quickly parse PHP code. When no reason to use full AST parser, we can use regular expressions for find constants.
Submitted by
Slava Krampetz
-
2 years ago
0
Email validation regex
Python
This email validation regex works perfectly (99.99%) for validating email address entries. The regex does not match email addresses with with the following characteristics: Addresses that begin/end with a special character Addresses with consecutive repeated special characters ...
Submitted by
Bright Owusu
-
2 years ago
(Last modified 2 years ago)
0
test1
PCRE (PHP <7.3)
test1
Submitted by
anonymous
-
2 years ago
0
regexGetAccount
ECMAScript (JavaScript)
(Element CI: )\d{4}
Submitted by
raphael
-
2 years ago
1
...
505
506
507
508
509
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
(
(
[^
<>()
\[\]\\
.,;:
\s
@"
]
+
(
\.
[^
<>()
\[\]\\
.,;:
\s
@"
]
+
)*
)
|
(
"
.
+
"
)
)
@
(
(
\[
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
]
)
|
(
(
[
a
-
zA
-
Z
\-
0
-
9
]
+
\.
)+
[
a
-
zA
-
Z
]
{2,}
)
)
$
/
Open regex in editor
Description
Works for JS and PHP
Submitted by
anonymous
-
6 years ago