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 5,140 community submitted regex patterns...
0
New line characters on Windows, Linux and OSX
PCRE2 (PHP >=7.3)
New line characters on Windows, Linux and OSX
Submitted by
anonymous
-
3 years ago
0
RFC3454 Stringprep matcher (documentation parser)
PCRE2 (PHP >=7.3)
Matching expressions from lists of maps as samples: 0221 0234-024F 02AE-02AF 03AB; 03CB; Case map...
Submitted by
Marin Sagovac
-
3 years ago
0
Neat URL
PCRE2 (PHP >=7.3)
Регулярка для очистки URL от мусора
Submitted by
anonymous
-
3 years ago
0
Edit xml blocks with exceptions with regex.
PCRE2 (PHP >=7.3)
Edit xml blocks with exceptions with regex.
Submitted by
Inc321
-
3 years ago
0
username or email?
PCRE2 (PHP >=7.3)
validate username or email
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Match phrase at end of line.
PCRE2 (PHP >=7.3)
Match phrase at end of line.
Submitted by
s1nglethr3ad
-
3 years ago
0
GCR Image Regex
PCRE2 (PHP >=7.3)
GCR Images
Submitted by
anonymous
-
3 years ago
0
Wagtail
PCRE2 (PHP >=7.3)
Deferring images with wagtail
Submitted by
punksage
-
3 years ago
0
Junction Main/Aux/Secondary
PCRE2 (PHP >=7.3)
Junction Main/Aux/Secondary Power Detection
Submitted by
anonymous
-
3 years ago
0
Junction Tertiary
PCRE2 (PHP >=7.3)
Tertiary Junction Power Detection
Submitted by
anonymous
-
3 years ago
0
OpenSubtitles api finds year
PCRE2 (PHP >=7.3)
this regex finds the first year in the json file returned by opensubtitles api
Submitted by
Andrea Canton
-
3 years ago
0
consonants
PCRE2 (PHP >=7.3)
finally made same but this one works on all sides
Submitted by
anonymous
-
3 years ago
0
Delete repeated bibitem
PCRE2 (PHP >=7.3)
Search for a repeated bibitem inside the curly braces of a latex \cite command and removes it.
Submitted by
anonymous
-
3 years ago
0
regex1
PCRE2 (PHP >=7.3)
한글, 영문, 숫자, 특수문자 입력 가능 특수문자 : ~ ! @ # $ % ^ & * ( ) - + ? _ / [ ] 최대 40글자까지 가능 / 최소 1글자 이상 공백 입력가능
Submitted by
anonymous
-
3 years ago
0
Media files
Python
Matching majority of media files
Submitted by
Moses
-
3 years ago
0
Barcodes
Python
Matching barcodes
Submitted by
Moses
-
3 years ago
0
comment shortcode
PCRE2 (PHP >=7.3)
Captures content between a pair of specifically-named HTML comments.
Submitted by
anonymous
-
3 years ago
10
Conventional Commits validation
Python
This regex prevents the writing of non-standard conventional commits. I'm available on my github
Submitted by
Krisque
-
3 years ago
(Last modified 3 years ago)
0
Media Tagger - Remove Square Brackets
PCRE2 (PHP >=7.3)
Remove square brackets from Track number and optionally remove Artist Name from Title.
Submitted by
António Cruz
-
3 years ago
0
Password Validation
Python
8 char 1 special char 1 number char 1 lower char 1 upper char
Submitted by
you
-
3 years ago
(Last modified 3 years ago)
1
...
123
124
125
126
127
...
257
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
(
\.
[
0
-
9
]
{1,3}
)?
(
\-
(
alpha
|
beta
|
preview
|
rc
)
)?
(
\.
[
0
-
9
]
{1,3}
)?
$
/
gm
Open regex in editor
Description
Check software versioning with semVer rules. Accept:
Major.Minor.Patch
: 1.2.3
Major.Minor.Patch.Build
: 1.2.3.4
Major.Minor.Patch-(pre-release)
: 1.2.3-beta
Major.Minor.Patch-(pre-release).Build
: 1.2.3-alpha.1
Submitted by
fabman08
-
3 years ago