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 14,160 community submitted regex patterns...
0
AU Phone/Mobile Number
PCRE2 (PHP >=7.3)
Regex AU Phone or Mobile Numbers starting with 04 or 06
Submitted by
sumonst21
-
2 years ago
0
Plex Meta Manager Config Cleanse
PCRE2 (PHP >=7.3)
Cleanse of Config File of Keys for Plex Meta Manager
Submitted by
anonymous
-
2 years ago
0
validando e_mail
Python
validando email
Submitted by
anonymous
-
2 years ago
0
if else parser part 1
Java 8
A basic if else parser. It automatically captures the if equation and the result. It supports if, elif, and else statements. Note: for elif statements part 2 is required. This is because Regex can't use one group to capture multiple elif statements. Part 2 can be found here
Submitted by
Rubeste
-
2 years ago
0
if else parser part 2
Java 8
This is part 2 of my if else parser. Part 2 is only needed for elif statements. Note: From the elif result from part 1 add a #end to close the statement. I might change it a bit in the future so this isn't needed. ...
Submitted by
Rubeste
-
2 years ago
0
Crusader Kings 3 plain-text match
PCRE2 (PHP >=7.3)
Simple expression that find plai-text in yml files.
Submitted by
ASMcoder
-
2 years ago
(Last modified 2 years ago)
0
ISO 3166-1 alpha-3
Java 8
ISO 3166-1 alpha-3 countries for validation
Submitted by
anonymous
-
2 years ago
0
Extraction of Boolean Status by Object ID (JSON)
PCRE2 (PHP >=7.3)
Extraction of boolean status by object ID from JSON string
Submitted by
Michael S.
-
2 years ago
0
Episodes Files
Python
#Episodes Files this pattern split the series episodes files to extract data
Submitted by
anonymous
-
2 years ago
0
Any letter finder
Python
This regex, by me, finds any letter, and may include: Emojis: 🥺 Miscallenious symbols and letters: Şâď Kaomojis: (T෴T ^^) And more: …
Submitted by
Rix The Regex Maker
-
2 years ago
0
Search Engine Marketing
PCRE2 (PHP >=7.3)
Yurrr
Submitted by
anonymous
-
2 years ago
0
assoc_ff_solucao
PCRE (PHP <7.3)
identifies ff in assoc
Submitted by
anonymous
-
2 years ago
0
Numbers, units, and tolerances
PCRE2 (PHP >=7.3)
This regular expression matches a quantity and tolerances, if they exist.
Submitted by
nessalc
-
2 years ago
(Last modified 2 years ago)
0
C######
PCRE2 (PHP >=7.3)
get C with numbers string
Submitted by
Didier
-
2 years ago
0
slovak and czech phone numbers
Python
Slovak and czech phone numbers. 0908312334 +421908332314 004219126559874 +420987654321...
Submitted by
Adrián
-
2 years ago
0
Extract American Phone Number
PCRE2 (PHP >=7.3)
Will verify a number that matches the pattern: [US International Code], [3-digit Area Code], [3 digits], [4 digits] And will return matches for all the digits together as a string (useful for href="tel:{number"), and each component of the number (including US International Code
Submitted by
MegaSpaceHamlet
-
2 years ago
0
Repeated numbers
PCRE2 (PHP >=7.3)
Checks if there are repeated numbers in a number. Ex. 1223 ==> Has the number 2 repeated
Submitted by
maPer77
-
2 years ago
0
All
PCRE2 (PHP >=7.3)
all
Submitted by
anonymous
-
2 years ago
0
Strip Azure Devops merge commit for fit changelog
PCRE (PHP <7.3)
Using the right headerPattern that can correctly parse either the merge message or the commit message I was able to workaround the issue
Submitted by
anonymous
-
2 years ago
0
JSON string
Python
Can process a JSON string
Submitted by
Mass
-
2 years ago
(Last modified 2 years ago)
1
...
629
630
631
632
633
...
708
extract query and path params - incomplete
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
[
a
-
z
]
[
a
-
z0
-
9+
\-
.
]
*
:
(
\/\/
[^
\/
?#
]
+
)?
)?
(
(?:
\/
[
a
-
z
]
{4}
\/
(
[
a
-
z
]
{2}
\-
[
a
-
z
]
{2}
)
\/
)
(
[
a
-
z0
-
9
\-
._~%!$&'()*+,;=:@
\/
]
*
)
)
(?:
\?
?
)
(
(
[
a
-
z0
-
9
\-
._~%!$'()*+,;:@
]
+
)
(?:
\=
)
(
[
a
-
z0
-
9
\-
._~%!$'()*+,;:@
\/
]
*
)
)*
(
&
*
)
/
gm
Open regex in editor
Description
Working on a regex to extract path and query params
Submitted by
anonymous
-
2 years ago