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
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
0
Azure Virtual Machine password validation
ECMAScript (JavaScript)
Whether you're using Azure CLI or, more specifically, Azure SDK to create a Virtual Machine, you may want to validate the given credentials before sending a request to create the VM. Otherwise, it could cost to send a full request with invalid data. To do so, you can use this RegEx to validate your...
Submitted by
qho
-
6 years ago
1
ПОДРОСТ
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 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
-
6 years ago
1
Youtube Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 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
-
6 years ago
1
REMOVE LAST DIGITS
PCRE (PHP <7.3)
Removes the last 4 digits from a expression
Submitted by
anonymous
-
6 years ago
1
...
280
281
282
283
284
...
902
Community Library Entry
0
Regular Expression
Python
r"
^
(?P<disabled>
#
*
)?
(?P<min>
\*
/
\d
+
|
\*
|
(?:
\d
+
,
?
)+
)
(?:
)
(?P<hour>
\*
/
\d
+
|
\*
|
(?:
\d
+
,
?
)+
)
(?:
)
(?P<day>
\*
/
\d
+
|
\*
|
(?:
\d
+
,
?
)+
)
(?:
)
(?P<month>
\*
/
\d
+
|
\*
|
(?:
\d
+
,
?
)+
)
(?:
)
(?P<dayofweek>
\*
/
\d
+
|
\*
|
(?:
\d
+
,
?
)+
)
"
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago