Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 18,040 community submitted regex patterns...
0
Awstats
ECMAScript (JavaScript)
Reg exp for directory/files of pdf etc
Submitted by
MikeMcCool
-
8 years ago
0
html tag name
ECMAScript (JavaScript)
no description available
Submitted by
dsikiritsky
-
8 years ago
0
Remove trailing dots
PCRE (PHP <7.3)
no description available
Submitted by
alex
-
8 years ago
0
ending .pub
ECMAScript (JavaScript)
For files with a .pub ending
Submitted by
Marvin
-
8 years ago
0
UK Postcode Checker
ECMAScript (JavaScript)
Checks for valid UK/British postcodes. A modified version of MaffooBristol's pattern that prevents a non-whitespace character being entered in between the two sections of the postcode. Works in PHP/JS ...
Submitted by
anonymous
-
8 years ago
0
Whatsapp Chat Regex
Python
This is a Regex to the Whatsapp chat data. This parses the G1 - Date, G2 - Time, G3 - User, G4 - Qualifier & G5 - Actual chat data. The Qualifier (G4) identifies the group Creation information, : that separates the User and Ping chat data and New user added chats.
Submitted by
Vinodh Sukumaran
-
8 years ago
0
Removes indexterm from html
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
domains
Python
no description available
Submitted by
anonymous
-
8 years ago
0
email validator
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
JSON Matching
ECMAScript (JavaScript)
Match numerical value of a JSON key. Numbers only 3-9
Submitted by
anonymous
-
8 years ago
0
decimal_to_frac
Python
Convert .5 in all its forms to 1/2
Submitted by
Brett Tofel
-
8 years ago
0
WhatsApp Message Regex
ECMAScript (JavaScript)
A regex to parse WhatsApp conversation files
Submitted by
anonymous
-
8 years ago
0
Timestamp recognizer, extracts hours minutes seconds
Python
Recognizes time-of-day timestamps Time range is from 0:00:00 through 23:59:59 Seconds are optional Named match components for hours, minutes, seconds
Submitted by
Paul Reiber
-
8 years ago
0
sent from my <phone>
Python
for catching phone generated message such as "sent from my"
Submitted by
anonymous
-
8 years ago
0
Basic Unmarked Phone Number Regex
PCRE (PHP <7.3)
1112223333
Submitted by
Wolf1098
-
8 years ago
0
Phone number
ECMAScript (JavaScript)
A good enough, nonrigorous expression
Submitted by
rchfox
-
8 years ago
0
Perez request
PCRE (PHP <7.3)
See email.
Submitted by
anonymous
-
8 years ago
0
File Name (Windows)
ECMAScript (JavaScript)
Valid windows file name.
Submitted by
anonymous
-
8 years ago
0
IPv4 address with description
Python
Match an IPv4 address and its description delimited by a 'newline' paragraph
Submitted by
edoz90
-
8 years ago
0
url decoders
PCRE (PHP <7.3)
no description available
Submitted by
Sigvald
-
8 years ago
1
...
361
362
363
364
365
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
\\\\
(
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
)
\\
[
-a
-
zA
-
Z_
0
-
9
]
+
\\
)
(?:
[
-a
-
zA
-
Z_
0
-
9
\.
]
+
\\
)*
/
gm
Open regex in editor
Description
Matches a full UNC path, capturing the IP address, share, and full path.
Submitted by
Harvey Nash
-
2 years ago