Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 17,400 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
For EachIn => foreach
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-13 02:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
c[]n=[x,y] => c[]n=new c[]{x,y};
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-09 08:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Select => switch
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-04 05:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
DIAM_METHOD
Python
no description available
Submitted by
anonymous
-
4 years ago
2020-02-04 09:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
hapus - dari nomor
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-04 10:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Comma separated values
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-04 12:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Remove IDs from MySQL Insert
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-04 12:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Set(Scale|Blend|Alpha|Rotation|Color)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-04 20:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Ticket price Qantas
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-05 04:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Draw(Image|Text)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-05 06:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
x$ => string x
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-05 07:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Mathf.(Cos|Sin|Tan|Asin|Acos|Atan|Sgn|Sqr)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-05 08:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Nginx matcher correct
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-05 12:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Kafka replay topics regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-05 15:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Local v[]=[0,0,0] => int[] v=new int[]{0,0,0}
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-05 18:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find all except line starting with 3 spaces and 1 number
PCRE (PHP <7.3)
Find all except line starting with 3 spaces and 1 number
Submitted by
anonymous
-
4 years ago
2020-02-05 21:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
While Wend => while{}
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-06 05:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Testing
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-06 06:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
For Local To => for(){
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-06 06:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
regex for allowing only certain special characters and also including the alphanumerical characters
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-06 06:17
1
...
738
739
740
741
742
743
744
...
870
Bike Size
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
(
XXS
\/
XS
|
XS
\/
S
|
S
\/
M
|
M
\/
L
|
L
\/
XL
|
XL
\/
XXL
|
XXS
|
XS
|
S
|
M
|
L
|
XL
|
XXL
|
\d
{2}
\.
\d
{1}
|
\d
{2}
|
youth
)
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
4 years ago
2020-02-25 19:00