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 17,600 community submitted regex patterns...
3
Extract Java Exception Message Field
PCRE (PHP <7.3)
Exception Message: java.lang.NullPointerException: Sample Java Logback Exception at Sample.errorLevel3(Sample.java:35) at Sample.errorLevel2(Sample.java:31) at Sample.errorLevel1(Sample.java:27)...
Submitted by
Amit
-
8 years ago
2
SED
Python
no description available
Submitted by
anonymous
-
8 years ago
1
java
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Address Match
Python
no description available
Submitted by
Awk
-
8 years ago
2
notepad++
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
replace any character with more than two occurrence
ECMAScript (JavaScript)
no description available
Submitted by
papky
-
8 years ago
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
-
8 years ago
1
Check Date + time (DD/MM/YYYY HH:MM)
ECMAScript (JavaScript)
no description available
Submitted by
Mikael Georges
-
8 years ago
1
Alpha + Underscore
ECMAScript (JavaScript)
no description available
Submitted by
Sergio de la Garza
-
8 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
-
8 years ago
3
Get Headings From Markdown Format
ECMAScript (JavaScript)
Get all headings in a Markdown Format Text
Submitted by
Ferdinand Dimas
-
8 years ago
3
Get Hyperlinks From Markdown Format
PCRE (PHP <7.3)
Get all hyperlinks in a Markdown Format Text
Submitted by
Ferdinand Dimas
-
8 years ago
1
Xml/html regex
PCRE (PHP <7.3)
Common regex for use with xml/html files
Submitted by
wonzbak
-
8 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
-
8 years ago
-2
Email Validation
Python
Full email validation with optional "." "-" "_"
Submitted by
Jakub Stasiak
-
8 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
-
8 years ago
0
last name|firstname|463
PCRE (PHP <7.3)
no description available
Submitted by
Chris
-
8 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
-
8 years ago
2
Search src from <img> tag
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
match non-alphanumeric in string
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
...
32
33
34
35
36
...
880
Parse ISO date with named group for Python
0
Regular Expression
Python
r"
(
(?P<fulldate>
(?P<date>
(
\d
{4}
-
\d
{2}
-
\d
{2}
)
)
T
(?P<time>
(
\d
{2}
:
\d
{2}
:
\d
{2}
(?:
\.
\d
+
)?)
)
)
(?P<tz>
(
Z
|
[
\+
-
]
\d
{2}
:
\d
{2}
)?
)
)
"
gm
Open regex in editor
Description
Parses ISO date like: 2021-01-19T15:21:32.59+02:00
and returns these named groups:
fulldate (full date and time)
date (2021-01-19)
time (15:21:32.59)
tz (+02:00)
Submitted by
Fabio Rotondo (fsoft)
-
2 years ago