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
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 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 12,060 community submitted regex patterns...
1
Extraneous slashes in pathnames
PCRE (PHP <7.3)
This regular expression matches all extraneous slashes in pathnames, that can be removed without altering which file the path name resolves into. It is intended to be used like so: Replace $extraslashregex with the actual regular expression. my $cleanpath = $path ~= s/$extraslashregex//gmxXr;...
Submitted by
anonymous
-
6 years ago
1
French Address Regex
PCRE (PHP <7.3)
French address regex Work on ruby
Submitted by
anonymous
-
6 years ago
1
French compass direction abbrevation patern
PCRE (PHP <7.3)
French compass direction abbrevation patern with cardinal, ordinal and half-wind
Submitted by
anonymous
-
6 years ago
1
French compass direction format
PCRE (PHP <7.3)
ordinal, cardinal and half-wind
Submitted by
anonymous
-
6 years ago
1
E-Mail regex
PCRE (PHP <7.3)
A regex to catch all types of e-mail-dresses with a variety of domain names.
Submitted by
anonymous
-
4 years ago
1
FInd Dates
PCRE (PHP <7.3)
Find Dates from string
Submitted by
anonymous
-
6 years ago
1
Regular expression for parsing VK.com links.
PCRE2 (PHP >=7.3)
no description available
Submitted by
ZKelo
-
5 years ago
(Last modified 2 years ago)
1
BTC Wallet
PCRE (PHP <7.3)
BTC Wallet
Submitted by
anonymous
-
6 years ago
1
Ignore lines started with # (hash)
PCRE (PHP <7.3)
Helps to search a line over a text file with ignoring (excluding from searching) the lines started with a # (hash) symbol ^(.)?^\sdev1 #| Environment | Port-prefix | Subnet | Target-host | #dev1 300 8 ibdock2...
Submitted by
anonymous
-
6 years ago
1
Windows 10 activation key
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
advanced regex example
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
Comma Separated Values
PCRE (PHP <7.3)
Separates Items in a list which is separated by a comma
Submitted by
anonymous
-
5 years ago
1
access.log V7.0
PCRE (PHP <7.3)
add layer
Submitted by
anonymous
-
5 years ago
1
URL regex
PCRE (PHP <7.3)
a universal URL regex with different groups for different parameters
Submitted by
anonymous
-
5 years ago
1
Find all html-tags except for some
PCRE (PHP <7.3)
Find all html-tags except for some that you want to preserve for any reason. I use this to remove all tags except those I want to keep.
Submitted by
anonymous
-
5 years ago
1
ПОДРОСТ
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
Regex to match any JSON value with fewer steps possible
PCRE (PHP <7.3)
If you find... any JSON value that should be matched but isn't, any JSON value that should NOT be matched but is or simply a way to match the values with fewer steps... please, let me know.
Submitted by
anonymous
-
5 years ago
1
SessionM Target Parsing (WIP)
PCRE (PHP <7.3)
Work in progress Regex transform for parsing SessionM targeting config from YAML
Submitted by
anonymous
-
5 years ago
1
Youtube Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
VALIDATE CELLPHONE - BRAZIL
PCRE (PHP <7.3)
MASK TO VALIDATION, WHEN YOU NEED THE AREA CODE OPEN. TO A CELLPHONE WITH 9 OR 8 DIGITS + AREA CODE OF 2 DIGITS 11 987654321 -> IT WILL GET 98765
Submitted by
anonymous
-
5 years ago
1
...
526
527
528
529
530
...
603
Regular expression for parsing VK.com links.
1
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(?:
https
?
:
\/\/
)?
(?:
m
\.
)?
vk
\.
(
com
|
ru
)
.
*
(
photo
|
video
|
audio
|
doc
|
page
|
note
|
poll
|
album
|
market
|
market_album
|
audio_playlist
)
(
-
?
\d
+
)
_
(
\d
+
)
\/
?
$
/
gm
Open regex in editor
Description
no description available
Submitted by
ZKelo
-
5 years ago
(Last modified 2 years ago)