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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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 6,400 community submitted regex patterns...
0
hi
PCRE2 (PHP >=7.3)
hi
Submitted by
anonymous
-
2 years ago
0
09|10|11
PCRE2 (PHP >=7.3)
select 09|10
Submitted by
ekam230
-
2 years ago
0
C style comments
PCRE2 (PHP >=7.3)
Regular expression to match all C style comments.
Submitted by
Seymoar Regex
-
2 years ago
0
how to match for a word not to be in the input
PCRE2 (PHP >=7.3)
Not Funny vs Funny - need to match for both cases
Submitted by
anonymous
-
2 years ago
0
匹配md图片
PCRE2 (PHP >=7.3)
匹配md图片
Submitted by
anonymous
-
2 years ago
0
匹配图片链接
ECMAScript (JavaScript)
匹配图片链接
Submitted by
anonymous
-
2 years ago
0
전방 탐색으로 정규표현식의 곱(AND) 작성하기
ECMAScript (JavaScript)
Submitted by
anonymous
-
2 years ago
0
script tag
ECMAScript (JavaScript)
find tag, but you can adapt to other tag
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
DOI extraction
PCRE2 (PHP >=7.3)
used to extract doi
Submitted by
Sharjeel
-
2 years ago
0
Nr2000 RegExp
PCRE2 (PHP >=7.3)
Regular exporession for Nr2000 validation
Submitted by
anonymous
-
2 years ago
0
subdomain
PCRE2 (PHP >=7.3)
select subdomain
Submitted by
anonymous
-
2 years ago
0
Basic Validation of Mobile Numbers
ECMAScript (JavaScript)
Description This is a simple Regular Expression for Mobile Numbers. Still needs more work. It currently supports the following formats: aaaaaaaaaa
Submitted by
monseiurMystere
-
2 years ago
0
select
PCRE2 (PHP >=7.3)
select的操作
Submitted by
lyf
-
2 years ago
0
gubas2549-knju@force.com
.NET 7.0 (C#)
gubas2549-knju@force.com
Submitted by
Welcome to Gboard clipboard, any text you copy will be saved here.
-
2 years ago
0
Script Tag Json
.NET 7.0 (C#)
asd
Submitted by
anonymous
-
2 years ago
0
Get SKU, leave out _# before file extension
PCRE2 (PHP >=7.3)
For a batch of photos named in the following fashion: {SKU}_{#}.jpg, where the _{#} is optional, only present when the photo is part of an image gallery for a given SKU. This expression uses lazy quantifying, because I need the expression to match as many characters as there are leading up to the p...
Submitted by
Mendel Groner
-
2 years ago
0
Get Sku, leave out _# before file extension (version 2)
PCRE2 (PHP >=7.3)
Another rendition of the previous expression, without the lazy quantification. Here, the expression will match any character except for the underscore character, so if there is an underscore, it will stop and evaluate the lookahead. I wonder which one is faster
Submitted by
anonymous
-
2 years ago
0
gradle - tasks.register
PCRE2 (PHP >=7.3)
migrate build.gradle legacy task registration to recommended approach using tasks.register
Submitted by
Pierre-Arnaud Galiana
-
2 years ago
0
start and end of string same english vowel
PCRE2 (PHP >=7.3)
checks the string and matches if it has at start and end same vowel
Submitted by
anonymous
-
2 years ago
0
MAR
PCRE2 (PHP >=7.3)
V12345678910 last, first MI D-321 D123 1 Primary Dx V12345678910 last, first I D-321 D123 1 Primary Dx V12345678910 last, first I Jr. D-321 D123 1 Primary Dx V12345678910 last, first I III D-321 D123 1 Primary Dx V12345678910 last, first I Jr. D-321 D123 1 Primary Dx V12345678910 last, f...
Submitted by
Eddie Choong
-
2 years ago
1
...
137
138
139
140
141
...
320
Nr2000 RegExp
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
[
0
-
9
]
\.
{0,1}
[
0
-
9
]
{3}
\.
{0,1}
[
0
-
9
]
{2}
\.
{0,1}
\.
{0,1}
[
0
-
9
]
\-
{0,1}
\.
{0,1}
[
0
-
9
]
{1,4}
\.
{0,1}
\_
{0,1}
[
0
-
9
]
{0,2}
$
/
gm
Open regex in editor
Description
Regular exporession for Nr2000 validation
Submitted by
anonymous
-
2 years ago