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 17,000 community submitted regex patterns...
4
8 upvotes, 4 downvotes (score 39.1%) (You must be signed in to vote)
html tags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-04-07 18:24
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
/^([a-zA-Z0-9])+([a-zA-Z0-9\._-])*@([a-zA-Z0-9_-])+([a-zA-Z0-9\._-]+)+
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-04-07 17:49
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
asas
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-04-07 16:52
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
(aller) + -z
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-04-07 15:36
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Strip the Headers from a response where JSON is present
ECMAScript (JavaScript)
HTTP/1.0 404 Not Found Cache-Control: no-cache Content-Type: application/json {"validation_message":'...'} ...
Submitted by
John B.
-
7 years ago
2016-04-07 14:32
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
fiddler raw to php array
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-04-07 14:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Telefonnummer E.123
ECMAScript (JavaScript)
no description available
Submitted by
Frank Mattes
-
7 years ago
2016-04-07 13:25
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
bb
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-04-07 09:15
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Marrocco Phone
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-04-06 21:40
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
DustySky URI
PCRE (PHP <7.3)
This PCRE matches DustySky URI structure.
Submitted by
Damian Torres
-
7 years ago
2016-04-06 18:05
-3
1 upvotes, 4 downvotes (score 3.6%) (You must be signed in to vote)
IPv4 address
Python
Matches any IPv4 address
Submitted by
anonymous
-
7 years ago
2016-04-06 17:12
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
US and Mexico Phone Numbers with Extensions
PCRE (PHP <7.3)
no description available
Submitted by
Katrina
-
7 years ago
2016-04-06 16:20
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Steam ID Regex
PCRE (PHP <7.3)
Will match and assign to named groups any form of identification for a steam user. Note that profile links and steamid64s are exclusive, preferring the more specific definition to the other, as well as is the case with customurls and full custom profile links.
Submitted by
jokleinn
-
7 years ago
2016-04-06 16:17
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Top Level Domain (TLD)
PCRE (PHP <7.3)
Select TLD (.com, .fr ...) from url or domain
Submitted by
Etienne
-
7 years ago
2016-04-06 13:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Google Analytics Campaign String
PCRE (PHP <7.3)
Match a Google Analytics Campaign query string
Submitted by
anonymous
-
7 years ago
2016-04-06 10:19
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
OPC UA Server
ECMAScript (JavaScript)
Gets IP-Address/host name from URL
Submitted by
anonymous
-
7 years ago
2016-04-06 10:13
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Local url detection
PCRE (PHP <7.3)
Detect if an url is local (even if written in an absolute way)
Submitted by
Jean Fenouil
-
7 years ago
2016-04-06 09:48
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
ISO 8601 date formats incl. validation
PCRE (PHP <7.3)
Test for all ISO 8601 date formats and only accept valid dates, e.g. 2016-02-29, but not 2016-02-30 or 2017-02-29.
Submitted by
Christoph Päper (Crissov)
-
7 years ago
2016-04-06 09:13
-1
1 upvotes, 2 downvotes (score 6.1%) (You must be signed in to vote)
Arabic AlphaNumeric
ECMAScript (JavaScript)
Arabic AlphaNumeric text
Submitted by
Ahmed
-
7 years ago
2016-04-06 08:19
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
project code for multiple codes
PCRE (PHP <7.3)
Ability to capture emails sent and received from Exchange (using Journaling that has been activated on specific users) that have one or more of the following Project Number prefixes: “15-“ “16-“ “17-”... “30-“ “GGO”...
Submitted by
anonymous
-
7 years ago
2016-04-06 04:59
1
...
656
657
658
659
660
661
662
...
850
includes file name - exclude path name - for jpg file
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(?!
.
+
\/
)
(
.
*
\.
jpg
$
)
/
gi
Open regex in editor
Description
Loading markdown...
Submitted by
L clarke
-
8 years ago
2016-03-11 05:49