Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
remove blank keys in query string
Open Workspace
PCRE (Legacy)
Substitution
Created 2016-07-03 12:36
4
Regular Expression
/
(
\w
+
=
[
\w
]
{0}
)(?:
&
|
$
)
/
g
Description
looks for blank keys in the query string and remove it, in order to make shorter request.
Submitted by
M.Nizam