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 9,620 community submitted regex patterns...
2
URL extractor
PCRE (PHP <7.3)
Extract parts of an URL.
Submitted by
Gilles Marchand
-
8 years ago
2
RewriteMatch into subfolder
PCRE (PHP <7.3)
RegEx for an .htaccess rewrite into a subfolder without provoking a 'too many redirects' error
Submitted by
Nils B.
-
8 years ago
2
paramaterised sql like expressions for sybase
PCRE (PHP <7.3)
no description available
Submitted by
robessog
-
8 years ago
2
multiple sql like expressions
PCRE (PHP <7.3)
no description available
Submitted by
robessog
-
8 years ago
2
search for a regex excluding a word
PCRE (PHP <7.3)
^((?!proposed_).)*((project|task)_details) matches: project_details task_details...
Submitted by
aymon
-
8 years ago
2
Delete Blank Lines
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
Matches human genomic coordinates
PCRE (PHP <7.3)
This expression matches human genomic coordinates, similat to those being used by genome browsers (e.g. the UCSC Genome Browser). It can match: chromosome, chromosome start, chromosome start end, chromosome start end reference sequence, chromosome start end reference sequence alternative sequence. T...
Submitted by
Panagiotis Moulos
-
8 years ago
2
Email combo to username combo
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
negative lookahead
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
Find IP
PCRE (PHP <7.3)
Regex to match an IPv4 address at beginning
Submitted by
edoz90
-
8 years ago
2
URL MATCH
PCRE (PHP <7.3)
URL MATCH
Submitted by
activesatan
-
8 years ago
2
Regex Shortcode
PCRE (PHP <7.3)
Check shortcode
Submitted by
khiconit
-
8 years ago
2
IP Address
PCRE (PHP <7.3)
IPv4 Address Input
Submitted by
anonymous
-
8 years ago
2
Eircode
PCRE (PHP <7.3)
Eircode validation for new postcodes identifiers in Republic of Ireland. Case-insensetive for easier user input. Added optional space separator to follow same pattern as in UK post codes and in examples used in eircode spec.
Submitted by
Arek Jaworski
-
8 years ago
2
Match multiline comments /* ... */
PCRE (PHP <7.3)
It won't match single line comments like this one: //* This comment won't be match */ ^ see the double / Works in PHP without the g modifier.
Submitted by
SimonaHalep
-
8 years ago
2
php naming convension (classes, vars, functions, constants)
PCRE (PHP <7.3)
PHP Basic coding standard Naming Convension pattern: /^\pL_*$/
Submitted by
Najmuddeen Mohammed
-
8 years ago
2
domain for Google Data Studio (re2 dialect)
Golang
Matches subdomain, domain and top level in a field that contains a urls. https://www.whatever.you.want ---> whatever.you.want
Submitted by
anonymous
-
7 years ago
2
check name
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2
Iranian birth date
PCRE (PHP <7.3)
Iranian birth date aka tarikh tavalod تاریخ تولد ایرانی ها
Submitted by
ehsanJamalian
-
7 years ago
2
shenasname code
PCRE (PHP <7.3)
Iranian identity code aka shenasname code شماره شناسنامه ایرانی ها
Submitted by
ehsanJamalian
-
7 years ago
1
...
467
468
469
470
471
...
481
IsEmailValid()
-2
Regular Expression
PCRE (PHP <7.3)
/
^
(
[
\w
-
\.
]
+
)
@
(
(
\[
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
)
|
(
(
[
\w
-
]
+
\.
)+
)
)
(
[
a
-
zA
-
Z
]
{2,4}
|
[
0
-
9
]
{1,3}
)
(
\]
?
)
$
/
Open regex in editor
Description
no description available
Submitted by
anonymous
-
10 years ago