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
Match line without word
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
Duplicate lines
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Duplicate words
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
NFDC Regex
PCRE (PHP <7.3)
Regex for NFDC
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
...\w?
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
VRT NWS Regex
PCRE (PHP <7.3)
no description available
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
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
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
process(all)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
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
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
Vipom regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
regex email
Python
use for censor phonenumber in comment
Submitted by
anonymous
-
5 years ago
0
Find =='s
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
...
411
412
413
414
415
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
[
\[\(
<
]
(?:
(?:
yes
|
YES
)
[
\/
,
]
(?:
no
|
NO
)
|
(?:
no
|
NO
)
[
\/
,
]
(?:
yes
|
YES
)
)
(?:
[
\/
,
]
.
*
?
)?
[
>
\)\]
]
/
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
8 years ago