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,560 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Orf Finder
PCRE (PHP <7.3)
Finds open reading frames in a dna sequence string.
Submitted by
tnrich
-
8 years ago
2015-08-03 08:07
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
JQuery .live to JQuery .on
PCRE (PHP <7.3)
replaces deprecated .live method with corresponding .on
Submitted by
Hossein Naderi
-
8 years ago
2015-08-02 09:21
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
mytest
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-08-02 03:55
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
soundcloud url
PCRE (PHP <7.3)
soundcloud url in a link
Submitted by
ogerly
-
8 years ago
2015-08-01 13:55
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Email verification
PCRE (PHP <7.3)
no description available
Submitted by
SonnY
-
8 years ago
2015-08-01 13:01
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Email verification
PCRE (PHP <7.3)
no description available
Submitted by
SonnY
-
8 years ago
2015-08-01 12:59
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
DateTime: yyyy-M-d-HH-mm-ss (.NET)
PCRE (PHP <7.3)
Validates DateTime in format 'yyyy-M-d-HH-mm-ss'(.NET) in mind with possible zeros, minimal values, maximal values and infinite year
Submitted by
CryoCZ
-
8 years ago
2015-07-31 21:50
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Match links in html
PCRE (PHP <7.3)
Matches all from
Submitted by
anonymous
-
8 years ago
2015-07-31 21:33
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Extract port from URL
PCRE (PHP <7.3)
Extracts the port from different possible forms of URL
Submitted by
anonymous
-
8 years ago
2015-07-31 16:11
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Find php short echo tags
PCRE (PHP <7.3)
Find instances of Usefult to replace with
Submitted by
JayCee
-
8 years ago
2015-07-31 15:34
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Find php short open tags
PCRE (PHP <7.3)
Finds instances of <? instead of <?php
Submitted by
JayCee
-
8 years ago
2015-07-31 15:32
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
negative lookbehind
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-07-31 14:46
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
111
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-07-31 09:43
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Machine Readable Passport - Extractor
PCRE (PHP <7.3)
First version of MRP Extractor Future versions include Merge with validator (if possible) Check nationalities
Submitted by
Mauro
-
8 years ago
2015-07-31 09:21
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
url 1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-07-30 13:55
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Parsing BWPROMO
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-07-29 17:52
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
find variant in uri
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-07-29 16:12
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
get last uri segment ending in number
PCRE (PHP <7.3)
no description available
Submitted by
Ben
-
8 years ago
2015-07-29 14:16
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
remove tinymce id's
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-07-29 13:37
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Rubik Parser
PCRE (PHP <7.3)
extract face/slice/axis rotations, pieces, patterns and groups
Submitted by
FabioDiMonte
-
8 years ago
2015-07-29 12:53
1
...
522
523
524
525
526
527
528
...
578
phone number
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(
\d
{1,4}
?
[
-.
\s
]
?
)*
/
Open regex in editor
Description
Loading markdown...
Submitted by
sylvain
-
8 years ago
2015-06-09 11:32