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,020 community submitted regex patterns...
1
Alpha Numeric With Spaces & Limited Punctuation
ECMAScript (JavaScript)
This allows multiple continuous strings of only alpha numeric characters & limiting punctuation to: ?().,'+ /:@-
Submitted by
anonymous
-
a year ago
(Last modified a year 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
-
a year ago
1
Match each Unicode Characters, Symbols, and Emojis consecutively
ECMAScript (JavaScript)
RegExp matches each (combined) Unicode symbol, character, or emoji consecutively. Note: there are some edge cases where it does not combine some symbols that should be seen as one symbol (after Default Grapheme Cluster Boundary of UAX #29). For Unicode code point info see codepoints.net Also, see ...
Submitted by
MAZ01001
-
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
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
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
Standard URI Groups
PCRE2 (PHP >=7.3)
Split URI parts into usable groups based on PCRE2 Regex
Submitted by
Gashbeer
-
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
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
Regex URL validation pattern
ECMAScript (JavaScript)
Regex URL validation pattern
Submitted by
Septian Maulana
-
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
Get Decathlon Product URL
PCRE2 (PHP >=7.3)
Match decathlon product detail url
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
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
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
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
amp;
PCRE2 (PHP >=7.3)
subtitui
Submitted by
seidao
-
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
Non-Empty String
ECMAScript (JavaScript)
This simply checks if the string is not empty spaces.
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
...
39
40
41
42
43
...
901
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
^
(
(
[^
<>()
\[\]\\
.,;:
\s
@"
]
+
(
\.
[^
<>()
\[\]\\
.,;:
\s
@"
]
+
)*
)
|
(
"
.
+
"
)
)
@
(
(
\[
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
]
)
|
(
(
[
a
-
zA
-
Z
\-
0
-
9
]
+
\.
)+
[
a
-
zA
-
Z
]
{2,}
)
)
$
/
Open regex in editor
Description
Original credit for this expression goes to:
https://emailregex.com/
Submitted by
anonymous
-
a year ago
(Last modified a year ago)