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...
0
Vipom regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Apache: if a url comes with & but without a ? starting the query param, replace the first & with a ?
PCRE (PHP <7.3)
If you got a malformed URL with a query string not starting with a question mark, this Apache rule will catch it and make a redirection, replacing the first ampersand with the mandatory question mark for a query string. The negative lookahead will make sure that it don't replaces a well formed quer...
Submitted by
anonymous
-
5 years ago
0
process(all)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
indentation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
indentation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
PRPA Blacklist Example2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
for operation Plus
PCRE (PHP <7.3)
\s\-\d\s(\.|\,)\d\s\+\s\-\d\s(\.\,)\s*\d
Submitted by
anonymous
-
5 years ago
0
Regex for a line of assembly instruction
Python
Returns 4 groups, label = label used in the start, if any opc = Opcode mnemonic if the line contains an instruction op1 = first operand to mnemonic, if any op2 = second operand to mnemonic, if any...
Submitted by
anonymous
-
5 years ago
0
VRT NWS Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
0-9] [a-b]
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
...\w?
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Regex to verify Hamradio Callsign and retrieve prefix
PCRE (PHP <7.3)
This REGEX verifies the callsign and splits it up in several parts so it is possible to retrieve the prefix. All additions to the callsign (like /P, /M,..) and prepositions like other DXCC identifier (like DL/ON7BS) will be retrieved. The only DXCC that won't work if found so far is swaziland (pref...
Submitted by
anonymous
-
5 years ago
0
NFDC Regex
PCRE (PHP <7.3)
Regex for NFDC
Submitted by
anonymous
-
5 years ago
0
Duplicate words
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Duplicate lines
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Match line with word
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Match line without word
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Search and Match an IP address in a string that may have either () or [] as boundaries.
Python
Search and Match an IP address in a string that may have either () or [] as boundaries.
Submitted by
anonymous
-
5 years ago
0
Name regex
Python
no description available
Submitted by
anonymous
-
5 years ago
0
Php log parsing
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
...
588
589
590
591
592
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
^
(?!
\d\d
?
[
ex
]
\d\d
?
)
(?:
\[
(?:
[
-
\w\s
]
+
)*
\]
)?
(
.
*
?
)
[
-_.
]
?
(?:
[
\{\(\[
]
?
(?:
dvdrip
|
[
-._
\b
]
ita
|
[
-._
\b
]
eng
|
xvid
|
cd
\d
|
dvdscr
|
\w
{1,5}
rip
|
divx
|
\d
+
p
|
\d
{4}
)
.
*
?
)?
\.
(
[
\w
]
{2,3}
)
$
/
img
Open regex in editor
Description
Extract the title from a movie file
Submitted by
dshinigami
-
10 years ago