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 18,040 community submitted regex patterns...
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
-
a year ago
(Last modified a year ago)
1
Correo Electrónico
PCRE2 (PHP >=7.3)
Validar un correo electrónico con una expresión regular básica
Submitted by
anonymous
-
a year ago
1
find the function definition based on indentation
ECMAScript (JavaScript)
check the code
Submitted by
anonymous
-
a year ago
1
Javascript Email Verification RFC5322
ECMAScript (JavaScript)
Original credit for this expression goes to: https://emailregex.com/
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
Non-Empty String
ECMAScript (JavaScript)
This simply checks if the string is not empty spaces.
Submitted by
anonymous
-
a year ago
1
Cron Job Regular Expression for JavaScript / ECMAScript
ECMAScript (JavaScript)
Simple pattern for validating Cron Job descriptors in your JavaScript / TypeScript / ECMAScript projects. Includes support for date ranges, day ranges, digit ranges, divisors... all of the things you'd expect to encounter in possible Cron values.
Submitted by
Nicholas Berlette (https://github.com/nberlette)
-
a year ago
1
amp;
PCRE2 (PHP >=7.3)
subtitui
Submitted by
seidao
-
a year 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
-
a year 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
-
a year ago
(Last modified a year ago)
1
HTML5 email validation
PCRE2 (PHP >=7.3)
Source: https://html.spec.whatwg.org/#e-mail-state-(type=email)
Submitted by
anonymous
-
a year ago
1
Regex to find URLs in text
ECMAScript (JavaScript)
Regex to find URLs in text
Submitted by
Saheed Odulaja
-
a year ago
1
Get Decathlon Product URL
PCRE2 (PHP >=7.3)
Match decathlon product detail url
Submitted by
anonymous
-
a year ago
1
#MGBookChat
PCRE2 (PHP >=7.3)
The hashtag that identifies topics in middle-grade literature.
Submitted by
LHnatiuk
-
a year ago
1
Regex URL validation pattern
ECMAScript (JavaScript)
Regex URL validation pattern
Submitted by
Septian Maulana
-
a year 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
-
a year 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
-
a year ago
1
Standard URI Groups
PCRE2 (PHP >=7.3)
Split URI parts into usable groups based on PCRE2 Regex
Submitted by
Gashbeer
-
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
...
332
333
334
335
336
...
902
Community Library Entry
0
Regular Expression
Python
r"
gateway=
(
(
\d
{1,3}
(
\.
\d
{1,3}
){3}
,
)*
172
.
17
.
2
.
1
(
,
\d
{1,3}
(
\.
\d
{1,3}
){3}
)*
)
"
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago