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 12,200 community submitted regex patterns...
0
Math every 2 line. => ^(?:.*\n){2}
PCRE (PHP <7.3)
^(?:.*\n){2}
Submitted by
anonymous
-
4 years ago
0
"(.+?)".+?
PCRE (PHP <7.3)
`"(.+?)".+?` pattern for key and value in Json file, dictionary
Submitted by
anonymous
-
4 years ago
0
payment ID
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
PlayStation Network Identifier | PSNID | PSN | psnid | psn
PCRE (PHP <7.3)
This expression checks whether the string is a valid psnID. between 3 and 16 characters starts with a latin letter [a-zA-Z] can only contains latin letters [a-zA-Z], arabic numbers [0-9], hyphens [-] and underscores [_] ...
Submitted by
anonymous
-
4 years ago
0
201105 - Limmex htaccess rule
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Eastlink IPPay transaction - includes error capture
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Extract First Word in a String with Anchor Start and Anchor End
PCRE (PHP <7.3)
Extract First Word in a String with Anchor Start and Anchor End
Submitted by
anonymous
-
4 years ago
0
Floating point numbers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
DIESEL Floating point numbers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
simple wild card
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
(Last modified 3 years ago)
0
Alphanumeric Employee ID
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Use Case 11
PCRE (PHP <7.3)
11 aws access key id AccessKeyId AND base64 encoded 15 bytes string RegEx - to be checked aws_access_key_id = 123456789012 aws_access_key_id = dJPAKRh75gkGBSc13y0M...
Submitted by
sahilkapila
-
4 years ago
0
Use Case 12
PCRE (PHP <7.3)
12 signed JWT base64data DOT base64data DOT base64dataeyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJyZWNvbW1fZW5naW5lIiwiQVBQTElDQVRJT05fVk8iOiJ7XCJhcHBsaWNhdGlvbl9pZFwiOlwicmVjb21tX2VuZ2luZVwiLFwic2VjcmV0XCI6XCJxN2FSVEQlTG5QXCJ9IiwiaWF0IjoxNjAzMDk4OTExLCJleHAiOjE2MDMxMDYxMTF9.ycKnC6aoYDFl3eN9rPay1TbHcOSWL8qchBX...
Submitted by
anonymous
-
4 years ago
0
CSCE project (regex for bonus portion)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
CSCE project (normal task regex)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
ALE
PCRE (PHP <7.3)
Update name of clips with Episode/Scene/Slate/Take/Cam/Select
Submitted by
anonymous
-
4 years ago
0
integer number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Combination of lookahead and lookbehind
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Split nested brackets
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Regex to Split string by comma but exclude comma in brackets parentheses
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
...
487
488
489
490
491
...
610
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
\$
\w
+
)
\s
*
=
\s
*
array
\(\)
[
;
\s
]
+
(?:
(?:
else
)*
if
\s
*
\(
\w
+
\(\)
[
='"
]
+
(?:
exec
|
passthru
|
system
)
[
'"
]
[^
{
]
+
[
{
\s
]
+
(?:
echo
|
print
)
[^
;
]
+
[
;
\s
]
+
(?:
exec
|
passthru
|
system
)
\(\$
_
(?:
GET
|
POST
|
REQUEST
)
\[
[^
]
]
+
\]
\s
*
,
\s
*
\1
[^
}
]
+
[
}
\s
]
+
){1,3}
(?:
.
{50,300}
)
G6
\s
+
Shell
\s
+
/
si
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago