Regular Expressions 101

Community Patterns

1...45678...901

Community Library Entry

4

Regular Expression
PCRE (PHP <7.3)

/
(\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 - 8 years ago