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...
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
alineas-ocorrencias
Python
Regex que captura ocorrências "semelhantes" a : 'alinea a', 'alineas a', 'alinea "a"', 'ali. "a"',...
Submitted by
maffei2443
-
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
-
5 years ago
1
FInd Dates
PCRE (PHP <7.3)
Find Dates from string
Submitted by
anonymous
-
6 years ago
1
רגקס טלפון ישראלי
ECMAScript (JavaScript)
Regex שבודק אם טלפון ישראלי תקין (גם נייח וגם נייד).
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
Match two multiplied arrays of number literals
ECMAScript (JavaScript)
Matches exactly two arrays of number literals separated by a multiplication character, where that multiplication character is either an asterisk or an x, and an array is started with a left square bracket, and whose contents are separated by commas, and which ends with a right square bracket. Unimp...
Submitted by
anonymous
-
6 years ago
1
Docker Reference
Python
Put together from information in: https://github.com/docker/distribution/blob/master/reference/reference.go (see comment at the beginning of the file) and https://github.com/docker/distribution/blob/master/reference/normalize.go (see func splitDockerDomain)
Submitted by
Leonhard Wimmer
-
6 years ago
1
advanced regex example
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
Content between 2 tag
Python
(?)([a-zA-Z\s\w]+)(?=) get content between tags
Submitted by
anonymous
-
6 years ago
1
Comma Separated Values
PCRE (PHP <7.3)
Separates Items in a list which is separated by a comma
Submitted by
anonymous
-
6 years ago
1
access.log V7.0
PCRE (PHP <7.3)
add layer
Submitted by
anonymous
-
6 years ago
1
URL regex
PCRE (PHP <7.3)
a universal URL regex with different groups for different parameters
Submitted by
anonymous
-
6 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
-
6 years ago
1
...
234
235
236
237
238
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(
подрост:
\s
+
)
(?<composition>
[
0
-
9А
-
Я
]
+
)?
\s
?
(?<age>
\(
\d
+
\)
)?
\s
?
(?<height>
\d
+
,
\d\s
м
)?
\s
?
,
?
\s
?
(
\d
+
,
\d\s
+
тыс
.
шт
\/
га
)
,
?
(
[
А
-
Яа
-
я
]
+
)?
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago