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 14,900 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ul-li discover
PCRE (PHP <7.3)
ul li discovered
Submitted by
anonymous
-
6 years ago
2017-08-01 15:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Matching an Saudi Postal Code
PCRE (PHP <7.3)
Saudi Postal Code has five digits, if you would to have more information check the below: +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ First Digit (Postal Regions): "The postal region number is represented by the first digit of the postal code" ...
Submitted by
Fares Alarabi
-
6 years ago
2017-08-01 12:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
firebase downloadURL
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
2017-08-01 11:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Parsing Search Impression Share Lost
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2017-07-31 14:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Phone numbers
PCRE (PHP <7.3)
Regular expression for phone numbers validation that formatted with mukeshsoni/country-telephone-data
Submitted by
lyhoshva
-
6 years ago
2017-07-31 13:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
URL Matcher
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2017-07-31 02:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Search for .onion domains
PCRE (PHP <7.3)
Does what it says on the tin.
Submitted by
anonymous
-
6 years ago
2017-07-30 20:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Matching any duplicated words
ECMAScript (JavaScript)
By Lynda.com
Submitted by
Fares Alarabi
-
6 years ago
2017-07-30 12:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Matching Multiple Names as First & Last Name
ECMAScript (JavaScript)
This Regex will help to match any first & last name from paragraph as one line, if you would to do the matching based on multi lines, add "gm" in the last of this query. /([A-Za-z0-9]\w+\s\w+)+/gm
Submitted by
Fares Alarabi
-
6 years ago
2017-07-30 08:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Voltage
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
2017-07-29 18:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
all letters but only letters
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2017-07-29 03:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
match nested quotes
PCRE (PHP <7.3)
match nested quotes
Submitted by
anonymous
-
6 years ago
2017-07-28 15:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Newman-redeem-batch
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2017-07-28 06:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Day of month
PCRE (PHP <7.3)
Check a day of month value (match with integer value between 1 and 31).
Submitted by
anonymous
-
6 years ago
2017-07-27 15:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
regex installing - update tool
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2017-07-27 06:23
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Word Wrap examples
PCRE (PHP <7.3)
Four examples of word wrapping at the 80 character mark, each one taking fewer steps than the last. Comment and uncomment lines with # to see the difference between versions. Optimization discussions welcome!
Submitted by
OnlineCop
-
6 years ago
2017-07-27 00:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Single curly braces, but not doubles
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2017-07-26 23:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Codice Fiscale
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
2017-07-26 12:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email Regex
ECMAScript (JavaScript)
Allow for emails with 2 '.' after the '@' symbol
Submitted by
anonymous
-
6 years ago
2017-07-25 03:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Skip line contain HTML element attribute which have a URL value
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
2017-07-24 14:33
1
...
452
453
454
455
456
457
458
...
745
re
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
<outcomeDeclaration
(
.
*
?
)
\/
>
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
6 years ago
2017-05-25 16:14