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 9,620 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Reg2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-09-16 14:10
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Reg1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-09-16 14:12
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
X user Y response
PCRE (PHP <7.3)
grep logs with X username and Y response code
Submitted by
anonymous
-
7 years ago
2016-09-16 19:52
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Create directories
PCRE (PHP <7.3)
Regex to make sure directories have a "real" name and not code use for scripting/
Submitted by
anonymous
-
7 years ago
2016-09-16 20:49
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
CI-Bol
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-09-16 22:40
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
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
-
7 years ago
2016-09-17 21:49
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Trim whitespaces regex
PCRE (PHP <7.3)
this is trim-like regex
Submitted by
Giuseppe Tavella
-
7 years ago
2016-09-18 04:47
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
q
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-09-18 13:13
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-09-19 14:11
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Search "contains" PHP conditions and replace
PCRE (PHP <7.3)
no description available
Submitted by
Jan Barasek
-
7 years ago
2016-09-19 14:28
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
anchor from within html tags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-09-20 07:38
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
group german streetnames and streetnumbers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-09-20 09:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
hjkkk
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-09-20 12:13
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Parse DocBlock tags
PCRE (PHP <7.3)
Parse DocBlock tags to name & value
Submitted by
Jaanus Heeringson
-
7 years ago
2016-09-20 13:03
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
strct_separate_cart discount
PCRE (PHP <7.3)
Searching for instances of strct_separate_cart with discount as a member
Submitted by
Carlos Vazquez
-
7 years ago
2016-09-20 15:32
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
End with digits
PCRE (PHP <7.3)
Checks if a string ends with digits
Submitted by
Peter Krauß
-
7 years ago
2016-09-20 16:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
CohhCarnage giveaway started
PCRE (PHP <7.3)
no description available
Submitted by
Me
-
7 years ago
2016-09-20 20:53
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Citations
PCRE (PHP <7.3)
no description available
Submitted by
Saranya
-
7 years ago
2016-09-21 05:52
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
A
PCRE (PHP <7.3)
Aa
Submitted by
anonymous
-
7 years ago
2016-09-21 07:52
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
SQL Limit Clause
PCRE (PHP <7.3)
checks for valid limit clause of an sql statement
Submitted by
Magesh Kumaar
-
7 years ago
2016-09-21 10:23
1
...
78
79
80
81
82
83
84
...
481
Numéro portable Français et Monégasque
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
(
0
|
\+
\s
?
33
|
\+
\s
?
377
){1}
\s
{0,1}
(
\(
0
\)
){0,1}
\s
?
(
6
|
7
){1}
(
(
|
.
){0,1}
[
0
-
9
]
{2}
){4}
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
3 years ago
2020-04-29 15:18