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 11,500 community submitted regex patterns...
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
hhh
PCRE (PHP <7.3)
Fghh
Submitted by
ggj
-
9 years ago
2015-02-07 11:41
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Jeny
PCRE (PHP <7.3)
132
Submitted by
Renderlife
-
9 years ago
2015-02-07 07:04
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
hashtag and user tag regex
PCRE (PHP <7.3)
This regular expression can be used to find tags and hashtags in a string. It assumes that a username can contain both underscores and points (.) and that hashtags can only contain letters
Submitted by
Luca Simonetti
-
9 years ago
2015-02-06 14:34
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
replace &ldquo with doublequotes
PCRE (PHP <7.3)
replace tag with doublequotes regex
Submitted by
anonymous
-
9 years ago
2015-02-05 12:06
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Numer telefonu
PCRE (PHP <7.3)
no description available
Submitted by
p.borecki
-
9 years ago
2015-02-03 13:50
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Numer telefonu
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2015-02-03 13:49
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Arabic example
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2015-02-03 11:48
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
aaa
PCRE (PHP <7.3)
vvv
Submitted by
anonymous
-
9 years ago
2015-02-03 07:59
1
3 upvotes, 2 downvotes (score 23.1%) (You must be signed in to vote)
check phone number(Taiwan)
Python
If pattern match, then this number probably is a phone number in Taiwan.
Submitted by
Assalin
-
9 years ago
2015-02-03 05:54
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
overlapping regex, small test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2015-01-29 16:39
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2015-01-29 16:19
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
test
PCRE (PHP <7.3)
test
Submitted by
anonymous
-
9 years ago
2015-01-29 16:10
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Match youtube id
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2015-01-29 11:37
4
6 upvotes, 2 downvotes (score 40.9%) (You must be signed in to vote)
Validate a Particular File Extension
PCRE (PHP <7.3)
Validates a File Path and makes sure the correct extension is at the end.
Submitted by
Andrew Morpurgo
-
9 years ago
2015-01-28 13:18
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Get Itunes ID
PCRE (PHP <7.3)
Get itunes id from url
Submitted by
sendypw
-
9 years ago
2015-01-28 10:42
-2
2 upvotes, 4 downvotes (score 9.7%) (You must be signed in to vote)
python bracketed text
Python
why doesn't this match text in brackets?
Submitted by
anonymous
-
9 years ago
2015-01-27 21:53
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Email validation
PCRE (PHP <7.3)
because everything else is too strict
Submitted by
anonymous
-
9 years ago
2015-01-27 15:35
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Stackexchange: Create date variable from time
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2015-01-27 14:39
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
rvewr
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2015-01-27 12:00
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
URL with matching categories
PCRE (PHP <7.3)
Finds the protocol, subdomain, ((domain, extension)/ipaddress), port, filepath (split in path and filename), the route and the query string.
Submitted by
fps
-
9 years ago
2015-01-26 20:38
1
...
542
543
544
545
546
547
548
...
575
match any email address in list
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(
\\
W
|
^
)
(
billg@microsoft
.
com
|
sjobs@apple
.
com
|
sjobs
+
spam@gmail
.
com
)
(
\\
W
|
$
)
/
Open regex in editor
Description
Loading markdown...
Submitted by
cloneman
-
9 years ago
2015-01-26 19:57