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...
2
preprocess text files to include only readable and text words
Python
for large corpus cleaning
Submitted by
aliabbas petiwala
-
9 years ago
2
parse tag data with multiline
Python
parse tag data with multiline
Submitted by
Ali GÖREN
-
9 years ago
2
po box
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
76
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Simple domain.tld tester
ECMAScript (JavaScript)
For testing domain with TLD regExp.test("google.com") => true regExp.test("mad.engineering") => true
Submitted by
Sergio de la Garza
-
9 years ago
2
Linux ARP-Table
PCRE (PHP <7.3)
Matches cat /proc/net/arp. It returns the IP, MAC and interface.
Submitted by
anonymous
-
9 years ago
2
Nato Stock Number (Add dashes)
PCRE (PHP <7.3)
Takes a 13 digit non-dashed Nato Stock Number and uses the Substitution to add the dashes in
Submitted by
Matthew Perryman
-
9 years ago
2
Expanded Visual Basic Properties
PCRE (PHP <7.3)
I've been using this regex to get a list of expanded properties (specifically the property names from the 'prop' capture group) from VB code that is used as input in a code converter for a project at work.
Submitted by
Timothy Smith
-
9 years ago
2
uri template validation
PCRE (PHP <7.3)
validating uri template
Submitted by
Tirta Wijaya
-
9 years ago
2
Brazilian Telephone Regex
PCRE (PHP <7.3)
A regex for brazilian telephones
Submitted by
André Ramos (github.com/andrelramos)
-
9 years ago
2
ACTGatewaTranscript
PCRE (PHP <7.3)
Regex to find ACTGateway Transcript entries when discarding logs
Submitted by
jfilipek
-
9 years ago
2
Basic Email
PCRE (PHP <7.3)
no description available
Submitted by
Kareem Cambridge
-
9 years ago
2
Shorten file path with /../
PCRE (PHP <7.3)
Example usage: $Path = preg_replace('/(?:^|(?<=\/))(?:+|\.(?!\.\/))++\/\.\.\//i', '', $Path);
Submitted by
Mr.Deek & +OnlineCop
-
9 years ago
2
MyFRegex
PCRE (PHP <7.3)
Hi
Submitted by
mymoon
-
9 years ago
2
Email Address Matching
PCRE (PHP <7.3)
Picks out valid email addresses from string.
Submitted by
Rob Lester
-
9 years ago
2
whitespaces and positive numerics (3 precisions accpet . or ,)
ECMAScript (JavaScript)
//Accepts whitespaces and positive numeric values including integers and decimals(dot or comma optional) with 3 precisions only. //Ex: "999", " 999.999", " 999.999", " 999,999", " 999,999" -> ACCEPTABLE
Submitted by
Pubudu (motustudio)
-
9 years ago
2
Dir\File.Ext
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Url parser and validator
ECMAScript (JavaScript)
Validate an url with hostname or ip and port. Furthermore provides: the entire url the protocol the hostname/ip the port...
Submitted by
Antonino Sirchia
-
9 years ago
2
email
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
imdb id
PCRE (PHP <7.3)
imdb
Submitted by
little badger
-
9 years ago
1
...
868
869
870
871
872
...
902
Community Library Entry
0
Regular Expression
Java 8
"
(?<scheme>
https
?
|
s
?
ftp
|
wss
?
|
git
)
:
\/\/
(?<subDomain>
[
a
-
z0
-
9-
]
{1,63}
\.
(?:
[
a
-
z0
-
9-
]
{1,63}
\.
)*
)?
(?<domain>
[
a
-
z0
-
9-
]
{1,256}
)
[
.
]
(?<tld>
[
a
-
z0
-
9
]
+
)
(?:
:
(?<port>
[
0
-
9
]
{1,5}
)
)?
(?<path>
\/
.
*
/
?
)?
"
gm
Open regex in editor
Description
The link matcher regex currently matches the most common types of links.
*Removed other links
Submitted by
IkeVoodoo
-
2 years ago
(Last modified 2 years ago)