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 13,940 community submitted regex patterns...
1
Find software version in single line text entry
PCRE2 (PHP >=7.3)
This will look for a software version within a single line text entry.
Submitted by
Bill Alexander
-
9 months ago
1
select report
PCRE2 (PHP >=7.3)
select report
Submitted by
H.Nasirii
-
9 months ago
1
números html
PCRE2 (PHP >=7.3)
numeros
Submitted by
anonymous
-
9 months ago
1
Remove specific parameter from URL
PCRE (PHP <7.3)
This pattern finds a parameter (sst) key + value in a GET request URL. When replaced with an empty string, effectively removes the parameter. Works with both full URLs and isolated query strings. Works in PCRE and PCRE2. Full use case: if (isset($_GET["sst"])) { // validate...
Submitted by
Martin Holt
-
9 months ago
(Last modified 9 months ago)
1
Correo Electrónico
PCRE2 (PHP >=7.3)
Validar un correo electrónico con una expresión regular básica
Submitted by
anonymous
-
9 months ago
1
amp;
PCRE2 (PHP >=7.3)
subtitui
Submitted by
seidao
-
9 months ago
1
Discord Token Regex
PCRE2 (PHP >=7.3)
Regex that will verify if a valid token has been provided. This comes directly from Discord's source.
Submitted by
Discord
-
9 months ago
1
TV/Movie
PCRE2 (PHP >=7.3)
This is my first attempt so umm ya .. Grab Filename: Fname Season: se Episode: ep Year: yr
Submitted by
TheMorgue
-
9 months ago
(Last modified 9 months ago)
1
HTML5 email validation
PCRE2 (PHP >=7.3)
Source: https://html.spec.whatwg.org/#e-mail-state-(type=email)
Submitted by
anonymous
-
9 months ago
1
Get Decathlon Product URL
PCRE2 (PHP >=7.3)
Match decathlon product detail url
Submitted by
anonymous
-
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
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
groupping math every 2 comma separator
PCRE (PHP <7.3)
i have paste \n after every 2-th comma using sed sed 's/\(\(*,\)\{2\}\)/\1\n/g'
Submitted by
sanekmihailow
-
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
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
-
9 months 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
-
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
Thai Home Telephone Validation
PCRE2 (PHP >=7.3)
refer to https://mobile.kapook.com/view7358.html
Submitted by
Chadin Chaipornpisuth
-
9 months ago
1
match "baseip/cidr"
PCRE2 (PHP >=7.3)
match "baseip/cidr"
Submitted by
Erik
-
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
...
215
216
217
218
219
...
697
UK Postcode matcher
1
Regular Expression
PCRE (PHP <7.3)
/
^
(
(
[
gG
]
[
iI
]
[
rR
]
{0,}
0
[
aA
]
{2}
)
|
(
(
(
[
a
-
pr
-
uwyzA
-
PR
-
UWYZ
]
[
a
-
hk
-
yA
-
HK
-
Y
]
?
[
0
-
9
]
[
0
-
9
]
?
)
|
((
[
a
-
pr
-
uwyzA
-
PR
-
UWYZ
]
[
0
-
9
]
[
a
-
hjkstuwA
-
HJKSTUW
]
)|
(
[
a
-
pr
-
uwyzA
-
PR
-
UWYZ
]
[
a
-
hk
-
yA
-
HK
-
Y
]
[
0
-
9
]
[
abehmnprv
-
yABEHMNPRV
-
Y
]
))
)
{0,}
[
0
-
9
]
[
abd
-
hjlnp
-
uw
-
zABD
-
HJLNP
-
UW
-
Z
]
{2}
)
)
$
/
Open regex in editor
Description
no description available
Submitted by
anonymous
-
8 years ago