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,100 community submitted regex patterns...
0
fsd
PCRE (PHP <7.3)
fsdfsd
Submitted by
anonymous
-
9 years ago
1
match only an #endif where no wordcharacter is following(multiline)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
eee
PCRE (PHP <7.3)
eee
Submitted by
eee
-
9 years ago
-2
Detect DNS Zones with Authoritative Nameservers
PCRE (PHP <7.3)
This can be used to find all zone files that contain authoritative nameservers - e.g. perl -ne 'print if /^([\w.]+\.)\s+.+\sNS\s.+\1/' /var/named/*.db | awk '{print $1}' | sort | uniq
Submitted by
Santrix
-
9 years ago
-2
last, first middle name parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Meow
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
mceItem_breakpoint
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
mceItem_breakpoint2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
Test Balanced Parentheses
PCRE (PHP <7.3)
no description available
Submitted by
Me
-
9 years ago
1
always greedy
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Remove repetitions from plain array
PCRE (PHP <7.3)
Remove repeated elements from a plain JSON array.
Submitted by
Icaro Niz
-
9 years ago
1
Validate mail
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
SelfMon Filter User & Group
PCRE (PHP <7.3)
Filter selfmon events by user and group using the r= switch. The full filter is entered as: r=/(?=.FULL SET USER1)(?=.Grp= 1)/ms
Submitted by
SelfMon
-
9 years ago
0
1
PCRE (PHP <7.3)
1
Submitted by
1
-
9 years ago
1
Extrae episodios
PCRE (PHP <7.3)
Extrae episodeos de una pagina de series flv
Submitted by
Aldo Lopez
-
9 years ago
1
youtube parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
messenger facebook without facebook
PCRE (PHP <7.3)
iwant to block fcaebook messenger in layer7
Submitted by
anonymous
-
9 years ago
1
HP OO Shell OPeration
PCRE (PHP <7.3)
I am trying to capture from HP OO SSH shell operation, basicall it will run the commands what we send from HP OO and this operation expects return output to send next command. I am trying to send command gtacl and next command is LOGON username, OO expects to match string to send another command, t...
Submitted by
Lokesh
-
9 years ago
1
...
59
60
61
62
63
...
605
Remove repetitions from plain array
0
Regular Expression
PCRE (PHP <7.3)
/
\[
(
"
[^
\]
"
]
+
",
)*
(?'value'
"
[^
\]
"
]
+
"
)
(
,"
[^
\]
"
]
+
"
)*
,
\k'value'
(
,"
[^
\]
"
]
+
"
)*
\]
/
Open regex in editor
Description
Remove repeated elements from a plain JSON array.
Submitted by
Icaro Niz
-
9 years ago