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
SegmentLoaderRegex
ECMAScript (JavaScript)
no description available
Submitted by
Sanoj
-
8 years ago
1
old
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Test
ECMAScript (JavaScript)
Test
Submitted by
Test
-
8 years ago
1
(am|sg){0,1}(invoice){0,1}(\d*){0,1}
PCRE (PHP <7.3)
(am|sg){0,1}(invoice){0,1}(\d*){0,1}
Submitted by
dat.dao
-
8 years ago
1
"GP0|#8c3bbce0-620b-4e68-8567-28ff6fa42712;L0|#08c3bbce0-620b-4e68-856
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Shortcode Js
ECMAScript (JavaScript)
[shortcode attr="data"]
Submitted by
khiconit
-
8 years ago
1
Number Validation
ECMAScript (JavaScript)
Number validation in Javascript. Abit too contrived
Submitted by
b0tman
-
8 years ago
1
Posible regex para variables mailmarketing
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Reg2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Reg1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Only valid if uppercase words (letters + space), minimum 1, maximum 21
ECMAScript (JavaScript)
"ASDF ASDF ASDF ASDF A" OK "ASDF ASDF ASDF ASDF AS" NOK "asfd ASDF ASDF ASDF" NOK "ASDF ASDF ASDF AsdF" NOK "ASDF ASDF ASDF A12F" NOK
Submitted by
Matthias G.
-
8 years ago
1
X user Y response
PCRE (PHP <7.3)
grep logs with X username and Y response code
Submitted by
anonymous
-
8 years ago
1
Create directories
PCRE (PHP <7.3)
Regex to make sure directories have a "real" name and not code use for scripting/
Submitted by
anonymous
-
8 years ago
1
CI-Bol
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
fail2ban 0.8.13-1 Debian 8 Jessie Roundcube 1.1.5+dfsg.1-1~bpo8+1
Python
Filter authentication fails from /var/log/roundcube/error
Submitted by
Daniel BaƱobre Dopico el profe
-
8 years ago
1
Username
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
^((?!^City$)[a-zA-Z '])+$
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Letters Only
PCRE (PHP <7.3)
It checks the string to be only letters with no spaces or any other char than a-z and A-z
Submitted by
anonymous
-
8 years ago
1
Trim whitespaces regex
PCRE (PHP <7.3)
this is trim-like regex
Submitted by
Giuseppe Tavella
-
8 years ago
1
q
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
...
730
731
732
733
734
...
902
Community Library Entry
1
Regular Expression
Python
r"
\\
(?P<command>
(
re
)?
newcommand
)
\{
(?P<name>
\\
\w
+
)
\}
(
\[
(?P<num>
\d
+
)
\]
)?
\{
(?P<definition>
.
+
)
\}
"
u
Open regex in editor
Description
no description available
Submitted by
Mattia Penati
-
8 years ago