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 15,140 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
urls ending with
ECMAScript (JavaScript)
Urls ending with a specific domain
Submitted by
anonymous
-
8 years ago
2015-10-15 14:57
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Match RE/FWD in subject body
PCRE (PHP <7.3)
no description available
Submitted by
wilco
-
8 years ago
2015-10-15 11:55
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Date time AM/PM validation
PCRE (PHP <7.3)
no description available
Submitted by
vladimir
-
8 years ago
2015-10-15 11:29
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
russian phone mask
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-10-15 10:42
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Russin phone mask
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-10-15 10:36
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Austrian zip code
PCRE (PHP <7.3)
https://en.wikipedia.org/wiki/List_of_postal_codes_in_Austria
Submitted by
anonymous
-
8 years ago
2015-10-15 08:46
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
IBAN (with spaces)
PCRE (PHP <7.3)
This matches EU IBAN codes considering spaces here and there
Submitted by
ZioAldo
-
8 years ago
2015-10-15 08:30
(Last modified 2 months ago)
2023-07-21 12:05
-2
3 upvotes, 5 downvotes (score 13.7%) (You must be signed in to vote)
search all special characters
ECMAScript (JavaScript)
no description available
Submitted by
rlynjb
-
8 years ago
2015-10-14 23:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
domain with .co.uk
ECMAScript (JavaScript)
Any domain written www.domain.co.uk
Submitted by
Byron Sargeant
-
8 years ago
2015-10-14 22:01
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Select each word and the whitespace after it
PCRE (PHP <7.3)
no description available
Submitted by
Ben C.R. Leggiero
-
8 years ago
2015-10-14 21:22
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Biessextile OK
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-10-14 14:22
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Comment Separator in Regex
PCRE (PHP <7.3)
Works for all types of comments and even multiline comments in java.
Submitted by
Chandan
-
8 years ago
2015-10-14 14:18
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Calcul date
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-10-14 14:14
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Date testing with 2 digit year
ECMAScript (JavaScript)
Date javascript
Submitted by
petabyte
-
8 years ago
2015-10-14 13:50
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Validate multiple Email-addresses separated by semicolon
PCRE (PHP <7.3)
Validate multiple Email-addresses separated by semicolon. No check on allowed domains, just a plain and simple check on the correct structure
Submitted by
maxthelup
-
8 years ago
2015-10-14 13:49
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
hastags as comma seperated.
PCRE (PHP <7.3)
Will allow #hash,#tag but not #hash,.
Submitted by
anonymous
-
8 years ago
2015-10-14 13:47
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Date Testing
PCRE (PHP <7.3)
Date Regex for Javascript
Submitted by
petabyte
-
8 years ago
2015-10-14 13:46
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Date Testing
ECMAScript (JavaScript)
Javascript date regex
Submitted by
anonymous
-
8 years ago
2015-10-14 13:42
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
aarti.kumari@igt22.22
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-10-14 11:39
-2
2 upvotes, 4 downvotes (score 9.7%) (You must be signed in to vote)
SQL Injection
ECMAScript (JavaScript)
SQL injection regEx pattern
Submitted by
Darshan Patil
-
8 years ago
2015-10-14 10:15
1
...
656
657
658
659
660
661
662
...
757
CSS colour hex matcher
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
#
(
[
[:xdigit:]
]
{3}
){1,2}
\b
/
img
Open regex in editor
Description
Loading markdown...
Submitted by
Tom Higginson
-
8 years ago
2015-09-15 09:47