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 3,080 community submitted regex patterns...
0
after the </h2> Any new paragraph should start with a <p>
PCRE2 (PHP >=7.3)
In case #2: after the Any new paragraph should start with a
Submitted by
anonymous
-
3 years ago
0
Task D5
PCRE2 (PHP >=7.3)
For course
Submitted by
anonymous
-
3 years ago
0
Uneven numbers of consontants
Java 8
Uneven numbers of consonants
Submitted by
Kristian Reitzel
-
3 years ago
0
facebook
PCRE2 (PHP >=7.3)
AMP - chinatimes
Submitted by
anonymous
-
3 years ago
(Last modified 2 years ago)
0
Email
PCRE2 (PHP >=7.3)
Email no Ñ no tilde
Submitted by
anonymous
-
3 years ago
0
app version number greater than
PCRE2 (PHP >=7.3)
app version number greater than
Submitted by
anonymous
-
3 years ago
0
JSON trailing comma match
PCRE2 (PHP >=7.3)
Don't rely on this for any serious business, though.
Submitted by
Basix
-
3 years ago
0
拼音正则匹配
PCRE2 (PHP >=7.3)
拼音正则匹配
Submitted by
anonymous
-
3 years ago
0
MongoDB Object ID validation
PCRE2 (PHP >=7.3)
24 character hex string matching MongoDB Object ID format
Submitted by
anonymous
-
3 years ago
0
switchover
PCRE2 (PHP >=7.3)
regex to split the following data into columns: 2021-06-15 10:41:04 SMM MANUAL MANUAL 6 7 manually switch OK 2021-09-03 14:32:01 UPS SW FAIL SW RESTART 8 - Error cnt: 1;err code:DAEMON_ERR_RESTART, param: 2021-09-03 14:35:04 UPS SW FAIL SW RESTART ...
Submitted by
anonymous
-
3 years ago
0
Regex for Nigerian Phone Numbers
PCRE2 (PHP >=7.3)
Regex for Nigerian Phone Numbers
Submitted by
koderant
-
3 years ago
0
OpenVPN access log
PCRE2 (PHP >=7.3)
This regular expression can be used in SIEM or scripts to extract special fields such as:
Submitted by
EskiSlav
-
3 years ago
(Last modified 3 years ago)
0
test
PCRE2 (PHP >=7.3)
Testing for sharing
Submitted by
me
-
3 years ago
0
Армянские фамилии
Java 8
Все существовавшие армянские фамилии
Submitted by
Arthur
-
3 years ago
0
Date match on multiple formats
PCRE2 (PHP >=7.3)
Date match on multiple formats
Submitted by
anonymous
-
3 years ago
0
Русские фамилии
Java 8
Почти все известные фамилии
Submitted by
Arthur
-
3 years ago
0
Email
Java 8
Test e-amil
Submitted by
uk
-
3 years ago
0
ISO 8601 date time validation
PCRE2 (PHP >=7.3)
Ref: https://rgxdb.com/r/526K7G5W
Submitted by
anonymous
-
3 years ago
0
Match 1 or more Jira issueKey in Wiki Markup
Java 8
Jira Wiki Markup content can have multiple issueKeys and repeat the same key up to three times. There are also random forward slash characters in the content and text that may look like a valid key, but is not.
Submitted by
Hank
-
3 years ago
(Last modified 3 years ago)
0
0x36210C88C438001A616687456978Aa4d3AdCba35
PCRE2 (PHP >=7.3)
/^(?:[\+-]?\d{4}(?!\d{2}\b))(?:(-?)(?:(?:0[1-9]|1[0-2])(?:\1(?:[12]\d|0[1-9]|3[01]))?|W(?:[0-4]\d|5[0-2])(?:-?[1-7])?|(?:00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[1-6])))(?:T\s\d|2[0-3])(?:(:?)[0-5]\d)?|24\:?00)(?:[\.,]\d+(?!:))?)?(?:\2[0-5]\d(?:[\.,]\d+)?)?(?:[zZ]|(?:[\+-])(?:[01]\d|2[0-3]):?(?:[0-5...
Submitted by
Nate☬158⚈̥̥̥̥̥̀ᴗ✯0x36210C88C438001A616687456978Aa4d3AdCba35
-
3 years ago
1
...
33
34
35
36
37
...
154
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