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
Dimensions from part descriptions
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
find vindi webhook requests that subscriptions has no order id
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
PHP Class Capture Groups from symbol string for Class, Namespace, Operation (Mutator or Accessor), Target and Method Names
PCRE2 (PHP >=7.3)
The is helpful for parsing the symbolic reference of a PHP class object for validation or just determining the type and target for the operator. The expression is intended for working with classes and class methods, so the value on the right of the Paamayim Nekudotayim :: will alway be regarded as ...
Submitted by
Jacob Canote
-
4 years ago
(Last modified 4 years ago)
1
Email Validation
PCRE (PHP <7.3)
basic email validation
Submitted by
anonymous
-
4 years ago
1
Capturing everything up until the first _ or -
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Tailwind CSS Color Regex
ECMAScript (JavaScript)
Just a little regex for the tailwind css color classes, It could be improved.
Submitted by
anonymous
-
4 years ago
1
Date - Extract & Validate - Fully tested - Format YYYY-MM-DD (dynamic parts separator / can use a different separator)
ECMAScript (JavaScript)
A fully tested regex that extracts and validates date parts using named capturing groups. \ Validations: Year must be preceded by nothing or a non-digit character...
Submitted by
Elie Grenon (DrunkenPoney) <elie.grenon.1@gmail.com>
-
4 years ago
1
Parse powers of string
ECMAScript (JavaScript)
When you want to parse a litteral math expression with power in and you want e^x to be e**x Use this regex!
Submitted by
anonymous
-
4 years ago
1
Regex Replace params by space when value is null
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
nb - legacy section with marginal note finder
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
nb - legacy section/subsection with marginal note finder
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
nb - legacy section/subsection finder
PCRE (PHP <7.3)
no headings
Submitted by
anonymous
-
4 years ago
1
create or change one optional part to another
PCRE (PHP <7.3)
Skip match process when S exist, or remove optional left most target T, capture left and right part of T. Use case: if N is not exist, modify/change T to N, or create N. If any create or modify write operated, appending output N to right using subsitution "$1$2N".
Submitted by
anonymous
-
4 years ago
1
Browser Console - Format Specifier
ECMAScript (JavaScript)
Captures format specifiers commonly used in logging and console messages, as defined in the current whatwg/console spec: %s: Formats the value as a string %i: Formats the value as an integer %d: Formats the value as an integer %f: Formats the value as a floating point value...
Submitted by
anonymous
-
4 years ago
1
Browser Console - Format Specifier
ECMAScript (JavaScript)
Captures format specifiers commonly used in logging and console messages, as defined in the current whatwg/console spec: %s: Formats the value as a string %i: Formats the value as an integer %d: Formats the value as an integer %f: Formats the value as a floating point value...
Submitted by
anonymous
-
4 years ago
1
VS Code - Stylus Problem Matcher
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
1G
Python
no description available
Submitted by
anonymous
-
4 years ago
1
Ad Astra
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
1
Regular Expression to Validate File Path and Extension
ECMAScript (JavaScript)
Recently, I was looking for a regular expression to validate a file path and extension. I found several of them on Google, but none of them fit my requirement. So I decided to put together a version that suits my need. Here is the Regular Expression to validate the file path and extension and it is ...
Submitted by
anonymous
-
4 years ago
1
Star-Quantifier
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
...
782
783
784
785
786
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
(
https
?
:
)?
\/\/
)?
(
(
[
\d\w
]
|
%
[
a
-
fA
-
f
\d
]
{2,2}
)+
(
:
(
[
\d\w
]
|
%
[
a
-
fA
-
f
\d
]
{2,2}
)+
)?
@
)?
(
[
\d\w
]
[
-
\d\w
]
{0,253}
[
\d\w
]
\.
)+
[
\w
]
{2,63}
(
:
[
\d
]
+
)?
(
\/
(
[
-+_~.
\d\w
]
|
%
[
a
-
fA
-
f
\d
]
{2,2}
)*
)*
(
\?
(
&
?
(
[
-+_~.
\d\w
]
|
%
[
a
-
fA
-
f
\d
]
{2,2}
)
=
?
)*
)?
(
#
(
[
-+_~.
\d\w
]
|
%
[
a
-
fA
-
f
\d
]
{2,2}
)*
)?
/
gmi
Open regex in editor
Description
check for urls
Submitted by
naxmefy
-
3 years ago