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 13,900 community submitted regex patterns...
0
Palindromes
PCRE (PHP <7.3)
How to detect palindromes up to 12 characters in length. I chose 12 because currently, the longest palindrome that is an actual word is "tattarrattat". This was a fun exercise because someone said pcre can't detect palindromes. Check and mate, my good sir.
Submitted by
Damian Torres
-
7 years ago
0
Spreadsheet sheet reference
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Email
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
First name last name reversal
PCRE (PHP <7.3)
Format name listing by putting last name first
Submitted by
Panagiotis Plevrakis
-
7 years ago
0
Time regex HH:MM:SS
PCRE (PHP <7.3)
no description available
Submitted by
Panagiotis Plevrakis
-
7 years ago
0
Test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
URI slug with optional slashes and query string
PCRE (PHP <7.3)
Validates a URI slug. Must: Contain lowercase alphanumeric character(s) separated with a single dash. Optionally allows:...
Submitted by
Quentin McRee
-
7 years ago
0
Telegram bot deep linking
PCRE (PHP <7.3)
Telegram bot deep linking Telegram bots have a deep linking mechanism, that allows for passing additional parameters to the bot on startup. It could be a command that launches the bot — or an auth token to connect the user's Telegram account to their account on some external service. ...
Submitted by
SadeghPM@gmail.com
-
7 years ago
0
VLAN_SUBINTERFACE
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
TAB £ symbol searching from the end
PCRE (PHP <7.3)
TAB £ symbol searching from the end
Submitted by
anonymous
-
7 years ago
0
TAB Text Splitter
PCRE (PHP <7.3)
Splits text with TABS into separate Capture zones.
Submitted by
anonymous
-
7 years ago
0
C# Region killer
PCRE (PHP <7.3)
This regex matches properly spaced C# region statements, and can be used to remove them in an existing codebase.
Submitted by
Jax
-
7 years ago
0
C# Region killer
PCRE (PHP <7.3)
This regex matches properly spaced C# region statements, and can be used to remove them in an existing codebase.
Submitted by
Jax
-
7 years ago
0
Italian geographic directory number
PCRE (PHP <7.3)
Useful to discriminate italian geographic numbers from non geographic. Regex validates also the length (in digits) of the directory number Regex considers italian country code and + sign. Italian numbers are considered geographic when are prefixed with 0. Italian prefixes length is 2-4 digits lon...
Submitted by
Stefano Coletta
-
7 years ago
0
service_instances
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
interfaces
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
aurora
PCRE (PHP <7.3)
pagination regex.
Submitted by
anonymous
-
7 years ago
0
Regex for MAC address with unit tests
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Regex for MAC address
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
Youtube ID Extractor
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
...
447
448
449
450
451
...
695
DEFI
0
Regular Expression
PCRE (PHP <7.3)
/
^
(
DEFI
?
)*
\s
?
[
A
-
Z
]
(
[
A
-
Z
]
|
[
0
-
9
]
){0,4}
=
(
(
[
A
-
Z
]
(
[
A
-
Z
]
|
[
0
-
9
]
){0,4}
)
|
(
[
0
-
9
]
+
(
\.
[
0
-
9
]
+
)?
)
)
\s
?
(
DEFI
?
)*
$
/
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
8 years ago