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 2,640 community submitted regex patterns...
1
CSV
Java 8
Crude CSV regex to split only by characters surrounded by non-whitespace characters. Ignore that it dosen't highlight all of the other commas in the editor. If you select the g regex flag it will properly show here, but not work in Java. Credit to @merosity (Merosity#0135) on Discord!
Submitted by
Merosity, regice202
-
a year ago
1
Extract text strings from repeating text fields followed by a suffix
Java 8
This regex expression is useful for extracting only the text string from a value in a column that may contain values from individual rows with repeat strings tagged with a suffix. For example - Row 1: "Sales (#1)", Row 2: "Sales Match (#2)". From the shared examples, this regex will extract the text...
Submitted by
nilotpalc
-
a year ago
1
Python Print String arg extraction
Python
Extract substitution parameters from python print strings works with fstrings old style format strings old style %(variable) strings
Submitted by
Giles Knap
-
a year ago
1
Improvement on Python Print substitution argument matching
Python
Get the python substitution strings from inside of print statements. Replace the whole substitution string with {{ ArgumentName }} for use in a Jinja2 rendering. Supports fstrings...
Submitted by
Giles Knap
-
a year ago
1
Group tags and lyrics
Python
Group tags and lyrics in one lrc file, multiple lines
Submitted by
Cricar
-
a year ago
1
Match each tag
Python
Match each tag in a lrc file
Submitted by
Cricar
-
a year ago
1
Extract tag name and its content
Python
Lrc file
Submitted by
Cricar
-
a year ago
1
Youtube Video ID
Java 8
Extract youtube video ID
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
Rust Phone Number
Rust
not fully featured, but simple.
Submitted by
Jakersnell
-
a year ago
1
Kafka loki parser
Golang
Kafka loki parser
Submitted by
anonymous
-
a year ago
1
Simple URL validation
.NET 7.0 (C#)
Validates protocol, sub-domain, domain, and top-level domain. No port number and query string parameters validation is made.
Submitted by
anonymous
-
a year ago
1
Initializing identifiers
.NET 7.0 (C#)
Initializing identifiers
Submitted by
anonymous
-
a year ago
1
Rust type-like ident casing
Rust
Matches built-in primitives and identifiers with casing conventionally used for type/constant names.
Submitted by
Neel Yadav
-
a year ago
1
Remove ANSI Escape Code
Python
Remove ANSI Escape Code
Submitted by
diaogong
-
a year ago
1
instagram url
Python
gets the url instagram
Submitted by
samuel06santos
-
a year ago
1
задание_03
Python
задание_03
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
Gradient for minecraft
Java 8
This is for my plugin project
Submitted by
Trần Thế Anh
-
a year ago
1
NANP Modern Plan US Telephone / Phone number
Python
Match 10-digit phone number that mostly complies with NANP Modern Plan. https://en.wikipedia.org/wiki/North_American_Numbering_Plan Simple explanation: ...
Submitted by
makinhey
-
a year ago
(Last modified a year ago)
1
Email Address Validation
Python
RegEx pattern to match email addresses. Visit the detailed tutorial to learn more.
Submitted by
Minh Vu
-
a year ago
(Last modified a year ago)
1
verifyIPV6
Java 8
verificare indirizzo IPV6 (regole base)
Submitted by
Luigi Piccinni
-
a year ago
1
...
119
120
121
122
123
...
132
Community Library Entry
0
Regular Expression
Python
r"
to=<
(?P<email>
\S
+
)
>,
\s
relay=
(?!
10
\.
10
\.
10
\.
)
(?P<relay>
\S
+
)
,
.
+
dsn=
(?P<dsn>
\d
+
\.
\d
+
\.
\d
+
)
,
\s
status=
(?!
sent
)
(?P<status>
\w
)
\w
+
\s
\(
(?:
host
\s\S
+
\[
\S
+
\]
\s
said:
\s
)?
(?P<code>
\d
{3}
)?
"
g
Open regex in editor
Description
Full regex for failed sendings
Submitted by
anonymous
-
8 years ago