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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 2,680 community submitted regex patterns...
1
Portuguese Phones
PCRE2 (PHP >=7.3)
Regex for Portuguese phones (without +)
Submitted by
anonymous
-
9 months ago
1
Australian Phones
PCRE2 (PHP >=7.3)
Regex for Australian phones (without +)
Submitted by
anonymous
-
9 months ago
(Last modified 9 months ago)
1
France Phones
PCRE2 (PHP >=7.3)
Regex for France phones (without +)
Submitted by
anonymous
-
9 months ago
1
Spain Phones
PCRE2 (PHP >=7.3)
Regex for Spain phones (without +)
Submitted by
anonymous
-
9 months ago
1
Gabon Phones
PCRE2 (PHP >=7.3)
Regex for Gabon phones (without +)
Submitted by
anonymous
-
9 months ago
1
Authors with year reference
PCRE2 (PHP >=7.3)
Try to find the author of a sentence following the next format: (Author, year) (Author, year; Author, year)
Submitted by
Antonio García Maestre
-
9 months ago
1
[sample]
PCRE2 (PHP >=7.3)
sample regular expression
Submitted by
anonymous
-
9 months ago
1
Unity Version Major & Minor (e.g. 2023.3)
PCRE2 (PHP >=7.3)
Match Unity Version as "Major.Minor"."Patch"
Submitted by
anonymous
-
9 months ago
1
email
PCRE2 (PHP >=7.3)
list of email
Submitted by
anonymous
-
9 months ago
1
DSN parser
PCRE2 (PHP >=7.3)
Regex for DSN parsing
Submitted by
ZKelo
-
9 months ago
(Last modified 9 months ago)
1
Lua Syntax
PCRE2 (PHP >=7.3)
finds and replaces square bracketed string literals with period and the field name
Submitted by
Andrew Stevens
-
9 months ago
(Last modified 9 months ago)
1
Best email regex including + (plus) and everything else
PCRE2 (PHP >=7.3)
The best regular expression for emails, including the + (plus) sign for every possible valid email in 2023.
Submitted by
Jérôme Brunel
-
9 months ago
1
Simple scientific notation
PCRE2 (PHP >=7.3)
allowed: 123 123.234 123.234E13 +123.234E-412 -.234E-12
Submitted by
Romzikon
-
9 months ago
1
match "baseip/cidr"
PCRE2 (PHP >=7.3)
match "baseip/cidr"
Submitted by
Erik
-
9 months ago
1
Thai Home Telephone Validation
PCRE2 (PHP >=7.3)
refer to https://mobile.kapook.com/view7358.html
Submitted by
Chadin Chaipornpisuth
-
9 months ago
1
Regexp for IPv4 or IPv6 CIDR entry
PCRE2 (PHP >=7.3)
Helps to find IPv4 or IPv6 CIDR entry in any text.
Submitted by
anonymous
-
9 months 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
-
9 months ago
1
Standard URI Groups
PCRE2 (PHP >=7.3)
Split URI parts into usable groups based on PCRE2 Regex
Submitted by
Gashbeer
-
9 months ago
1
din-91379.datatypeC
PCRE2 (PHP >=7.3)
DE Der Datentyp C wurde für alle normativen Schriftzeichen der DIN-Norm entworfen. Er ist somit die technische Umsetzung der Schnittstellenvereinbarung Alle nach Norm DIN 91379 normativen Schriftzeichen. Texte mit griechischen oder kyrillischen Buchstaben oder mit erweiterten (nicht-normativen) Nich...
Submitted by
rhildebr
-
9 months ago
1
#MGBookChat
PCRE2 (PHP >=7.3)
The hashtag that identifies topics in middle-grade literature.
Submitted by
LHnatiuk
-
9 months ago
1
...
15
16
17
18
19
...
134
Standard URI Groups
1
Regular Expression
PCRE2 (PHP >=7.3)
/
(?<protocol>
[
a
-
zA
-
Z-
]
+
)
\:\/\/
(?:
(?<credentials>
[
a
-
zA
-
Z0
-
9-_:
]
+
)
\@
)?
(?<hostPort>
(?<host>
[
a
-
zA
-
Z0
-
9.
]
+
)
(?:
\:
(?<port>
[
0
-
9
]
+
)
)?
)
(?<pathParameter>
(?:
\/
(?<path>
[
a
-
zA
-
Z
\/
]
*
)
)?
(?:
\?
(?<parameter>
[
a
-
zA
-
Z0
-
9=&%.
]
+
)
)?
)?
(?:
\#
?
(?<name>
[
a
-
zA
-
Z
\-
_0
-
9
]
+
)
)?
/
gm
Open regex in editor
Description
Split URI parts into usable groups based on PCRE2 Regex
Submitted by
Gashbeer
-
9 months ago