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
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
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
user-agent
ECMAScript (JavaScript)
Http response header User-Agent
Submitted by
anonymous
-
4 years ago
1
user-agent
ECMAScript (JavaScript)
Http response header User-Agent
Submitted by
anonymous
-
4 years ago
1
Between Brackets
Python
no description available
Submitted by
anonymous
-
4 years ago
1
Molecules to atoms p1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
...
251
252
253
254
255
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
import
\s
\{
[
\s\w
,
]
{0,}
[
\s
,
]
(
DatabaseWizardStepModule
)
[
\s
,
]
[
\s\w
,
]
{0,}
\}
\s
from
\s
{0,}
[
"'
\s
]
.
{0,}
(
@sybrin
\/
hosts-data
)
[
"'
\s
]
;
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago