Remove specific parameter from URL
This pattern finds a parameter (sst) key + value in a GET request URL. When replaced with an empty string, effectively removes the parameter. Works with both full URLs and isolated query strings. Works in PCRE and PCRE2.
Full use case:
if (isset($_GET["sst"])) {
// validate...
Submitted by Martin Holt - 9 months ago (Last modified 9 months ago)