Skip to content

http!?

Written as http!?(argnum flags):options in a transform expression.

Minimum arguments 1
Maximum arguments 1
Default arguments 1
Argument modes SINGLE_PRIMITIVE

Remove specified query parameters from a URL string.

This transform takes a URL string and returns a new URL with specified query parameters removed. Multiple parameters can be specified as a comma-separated list in the options string.

Notes:

  • If no parameters are specified (empty options), ALL query parameters are removed
  • The original URL is returned unchanged if it contains no query parameters
  • Parameters are matched exactly (case-sensitive)
  • The transform only affects the query string - fragments (#) are preserved
Flag Letter
noncaptive_input I
Input args: ["https://example.com?utm_source=test&page=1"]
Transforms: "http!?:utm_source"
Output: "https://example.com?page=1"
Input args: ["https://example.com?utm_source=test&utm_medium=email&page=1"]
Transforms: "http!?:utm_source,utm_medium"
Output: "https://example.com?page=1"
Input args: ["https://example.com?param1=val1&param2=val2"]
Transforms: "http!?:"
Output: "https://example.com"