Regular Expressions 101

remove blank keys in query string

Open Workspace
  • PCRE (Legacy)
  • Substitution
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