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...
3
Match text in square brackets
PCRE (PHP <7.3)
Drupal7 Media Element in node body - A regex to match the media module square bracketted token/element for embedde images in node body. Use case - using the body text trimmed in a meta description - need to remove the media element as well as strip tags.
Submitted by
iAugur
-
9 years ago
2
Date search
PCRE (PHP <7.3)
Search for three different types of dates in spanish format
Submitted by
Agustín Bouillet
-
9 years ago
1
Check Date + time (DD/MM/YYYY HH:MM)
ECMAScript (JavaScript)
no description available
Submitted by
Mikael Georges
-
9 years ago
1
Alpha + Underscore
ECMAScript (JavaScript)
no description available
Submitted by
Sergio de la Garza
-
9 years ago
0
Arabic diacritics matching تحديد التشكيل العربي
ECMAScript (JavaScript)
It will match all Arabic diacritics in Arabic text, its useful to remove diacritics and to replace it with some css.
Submitted by
Emad Ghaly
-
9 years ago
3
Get Headings From Markdown Format
ECMAScript (JavaScript)
Get all headings in a Markdown Format Text
Submitted by
Ferdinand Dimas
-
9 years ago
3
Get Hyperlinks From Markdown Format
PCRE (PHP <7.3)
Get all hyperlinks in a Markdown Format Text
Submitted by
Ferdinand Dimas
-
9 years ago
1
Xml/html regex
PCRE (PHP <7.3)
Common regex for use with xml/html files
Submitted by
wonzbak
-
9 years ago
3
Récupérer la bonne information
PCRE (PHP <7.3)
Groupe d'information $1 $2 $3 $1 = Prénom + Nom $2 = (Information à récupérer ou à supprimer) $3 = Numéro de téléphone
Submitted by
Terence DEMOL
-
9 years ago
-2
Email Validation
Python
Full email validation with optional "." "-" "_"
Submitted by
Jakub Stasiak
-
9 years ago
1
FFXIV Lodestone Character profile
PCRE (PHP <7.3)
Parses full url up to character page. Ignores http:// and anything after character ID
Submitted by
JaveLiner
-
9 years ago
0
last name|firstname|463
PCRE (PHP <7.3)
no description available
Submitted by
Chris
-
9 years ago
3
Removes duplicate lines in text editor
PCRE (PHP <7.3)
"dot matches newline" must be activated. Search and replace by "" (empty string) removes duplicate lines anywhere in text. Example for Notepad++ use shown under http://stackoverflow.com/questions/3958350/removing-duplicate-rows-in-notepad
Submitted by
Stackoverflow user stema
-
9 years ago
2
Search src from <img> tag
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
match non-alphanumeric in string
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
3
Remove br tags inside anchor tags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
3
Non vowel words
ECMAScript (JavaScript)
/\b(+)\b/ig
Submitted by
regexe
-
9 years ago
3
TV Series filename parsing
PCRE (PHP <7.3)
Get TV Series name, season and episode numbers.
Submitted by
anonymous
-
9 years ago
3
iframe src parser
Python
Get iframe src
Submitted by
Sumeet Fefar
-
9 years ago
2
HTML comments
PCRE (PHP <7.3)
Groups HTML comments that are between .
Submitted by
Greaka
-
9 years ago
1
...
32
33
34
35
36
...
902
Community Library Entry
0
Regular Expression
Python
r"
^
(
[
0
-
9
]
{4}
(
(
0
[
1
-
9
]
)
|
(
1
[
0
-
2
]
)
)
(
(
0
[
1
-
9
]
)
|
(
[
1
-
2
]
[
0
-
9
]
)
|
(
3
[
0
-
1
]
)
)
(
(
(
[
0
-
1
]
[
0
-
9
]
)
|
(
2
[
0
-
3
]
)
)
[
0
-
5
]
[
0
-
9
]
[
0
-
5
]
[
0
-
9
]
(
\.
[
0
-
9
]
{3}
(
\[
[
\+\-
]
?
((
0
[
0
-
9
]
)|
(
1
[
0
-
4
]
))
:
(
00
|
30
|
45
)
\]
)?
)?
)?
)
$
"
Open regex in editor
Description
no description available
Submitted by
Oleg Sakharov (karpuscul@gmail.com)
-
9 years ago