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,360 community submitted regex patterns...
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
TimeFormatParser
PCRE (PHP <7.3)
This allows to the programer to match the time format groups, in a way that allow to discard some parts of the format. E.g. I have a format HhMmSs and i want to ignore the 'Ss' part from the format when I have no Seconds
Submitted by
Fausto A. Guerrero
-
8 years ago
2015-07-21 20:43
1
3 upvotes, 2 downvotes (score 23.1%) (You must be signed in to vote)
GET EMAIL INFO (3)
PCRE (PHP <7.3)
Get Gmail tag, user and domain of an email address. -- Fixed the bug that the label doesn't match if there are an dot on user.
Submitted by
Matías Pizarro González
-
8 years ago
2015-07-21 20:19
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Get email info (2)
PCRE (PHP <7.3)
Get Gmail tag, user and domain of an email address. -- Fixed the bug that the label be obligatory
Submitted by
Matías Pizarro González
-
8 years ago
2015-07-21 20:03
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
Get email info
PCRE (PHP <7.3)
Get Gmail tag, user and domain of an email address
Submitted by
Matías Pizarro González
-
8 years ago
2015-07-21 19:57
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Phone numbers
PCRE (PHP <7.3)
PHP
Submitted by
anonymous
-
8 years ago
2015-07-21 19:25
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Simple email splitter
PCRE (PHP <7.3)
Split the email and get the user and domain.
Submitted by
Matías Pizarro González
-
8 years ago
2015-07-21 18:58
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
phone valid
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-07-21 17:06
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Phone Number Extraction
PCRE (PHP <7.3)
US numbers only
Submitted by
codedude
-
8 years ago
2015-07-21 16:51
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
what3words
PCRE (PHP <7.3)
This pattern check three words with a dot separator betwwern words. It use unicode; It is not yest compatible with javascript
Submitted by
tsamaya
-
8 years ago
2015-07-21 13:22
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Validate number in format: +xxxxxxxxxxx
PCRE (PHP <7.3)
Used for number validation in input forms, when number is required to be in international format. You can adjust the required number length by adjusting this part of regex: {6,10}. The bigged the second number, the longer number will pass the match.
Submitted by
Donatas Stončius - donatas@stoncius.lt
-
8 years ago
2015-07-21 10:32
2
4 upvotes, 2 downvotes (score 30%) (You must be signed in to vote)
URL
PCRE (PHP <7.3)
Matches the URL from the text to 95 percentage
Submitted by
Harinath
-
8 years ago
2015-07-21 07:03
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Business Console
PCRE (PHP <7.3)
no description available
Submitted by
Raghunath Chilkuru
-
8 years ago
2015-07-20 12:01
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
jjjj
PCRE (PHP <7.3)
GP \(Slim) . " .&,()-+_#* Line # & Relay/
Submitted by
anonymous
-
8 years ago
2015-07-20 11:46
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
extract url from text
PCRE (PHP <7.3)
no description available
Submitted by
captain haddock
-
8 years ago
2015-07-19 14:59
17
31 upvotes, 14 downvotes (score 54.3%) (You must be signed in to vote)
Capture comma separated numbers
PCRE (PHP <7.3)
Capture comma separated numbers, no matter if there are spaces before or after the commas.
Submitted by
Fernando Nunes
-
8 years ago
2015-07-19 01:57
-3
1 upvotes, 4 downvotes (score 3.6%) (You must be signed in to vote)
a
PCRE (PHP <7.3)
a
Submitted by
a
-
8 years ago
2015-07-17 20:10
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
j
PCRE (PHP <7.3)
h
Submitted by
anonymous
-
8 years ago
2015-07-17 18:22
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
time input
PCRE (PHP <7.3)
following input formats work-- 10am to 3pm 1am - 2pm 12pm-3pm
Submitted by
anonymous
-
8 years ago
2015-07-17 10:00
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Pega senha entre query Mysql
PCRE (PHP <7.3)
Recupera senha de queryMysql
Submitted by
Michael
-
8 years ago
2015-07-16 20:54
1
21 upvotes, 20 downvotes (score 36.5%) (You must be signed in to vote)
IP Addresses
PCRE (PHP <7.3)
Matches IP Addresses with minimum false positives
Submitted by
Austin-Hanson
-
8 years ago
2015-07-16 16:42
1
...
515
516
517
518
519
520
521
...
568
Find and replace strings with hypens
0
3 upvotes, 3 downvotes (score 18.8%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(
\w
+
(
-
\w
+
)+
)
/
gmuix
Open regex in editor
Description
Loading markdown...
Submitted by
yuks
-
8 years ago
2015-06-21 14:07