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,000 community submitted regex patterns...
0
Gitlab push rule enforcing commits to follow the "Conventional Commit" specification (used for ex. in Angular ...)
Golang
More and more project use the "Conventional Commit" specification. As it allows some nice toolchain automations in projects you might want to enforce it in gitlab. May work in other git portals too
Submitted by
anonymous
-
6 years ago
0
FR_CH
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
ES_ES
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
FR_FR
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
SQL - columns to MAX LEN
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
DNS Zone Teardown v2.0
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
analytics config one line
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
AutoitParser Include
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Want to exclude all lines with a COLON : otherwise find what is after array.
Python
This does not work. Needs to find all lines with the word array OR unassigned except for lines with a ':' character.
Submitted by
anonymous
-
6 years ago
0
Want to exclude all lines with a COLON : otherwise find what is after array.
Python
Find all lines with the word array OR unassigned except for lines with a ':' COLON character. Thanks to Kinny on IRC :) Added some tests.
Submitted by
Kinny, rjt
-
6 years ago
-1
Parse Accept-Language
PCRE (PHP <7.3)
This regex just grabs all the possible languages from the Accept-Language HTTP header.
Submitted by
anonymous
-
6 years ago
0
^[A-Z][a-z0-9_-]*( +[A-Z][a-z0-9_-]*)*$
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
fail2ban-php404
Python
no description available
Submitted by
anonymous
-
6 years ago
0
rm everything btwn delimiters
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
issue lookbehind
Golang
no description available
Submitted by
anonymous
-
6 years ago
0
Ex1
Python
no description available
Submitted by
anonymous
-
6 years ago
0
EN_US
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
my swear filter
PCRE (PHP <7.3)
a little regex i will plug into yagpdb to filter swears
Submitted by
anonymous
-
6 years ago
0
test
PCRE (PHP <7.3)
test
Submitted by
anonymous
-
6 years ago
0
German regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
...
553
554
555
556
557
...
900
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
[
0
-
4
]
(
$
|
\.
)
|
5
.
[
0
-
1
]
|
^
5
.
2
(
$
|
\.
(
[
0
-
9
]
$
|
1
[
0
-
9
]
|
2
[
0
-
7
]
)
$
)
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
6 years ago