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,020 community submitted regex patterns...
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
0
gen unique sql
Python
no description available
Submitted by
anonymous
-
5 years ago
0
AC800s
Python
no description available
Submitted by
anonymous
-
5 years ago
0
mayfield 12
Python
no description available
Submitted by
anonymous
-
5 years ago
0
AC800s from forum
Python
no description available
Submitted by
anonymous
-
5 years ago
0
AC800s Modem testing
Python
Still not quite right
Submitted by
anonymous
-
5 years ago
1
...
410
411
412
413
414
...
901
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
^
(?:
[
a
-
z
]
[
0
-
9a
-
z-.+
]
*
:
\/\/
)?
(
(?:
(?:
[
a
-
z
\u00a1-\uffff
0
-
9_
]
+
-
?
)*
[
a
-
z
\u00a1-\uffff
0
-
9_
]
+
)
(?:
\.
(?:
[
a
-
z
\u00a1-\uffff
0
-
9_
]
+
-
?
)*
[
a
-
z
\u00a1-\uffff
0
-
9_
]
+
)*
(?:
\.
(?:
[
a
-
z0
-
9
\u00a1-\uffff
]
{2,}
)
)
)
(?:
:
\d
{2,5}
)?
(?:
\/
.
*
)?
(?:
\?
.
*
)?
(?:
\#
.
*
)?
$
/
gim
Open regex in editor
Description
Latest isUrl regex
Submitted by
anonymous
-
8 years ago