Workflow Example: Remove URL Parameters

Given a URL as input this workflow will strip out any parameters by removing the “?” and everything after it. If a URL is not received as input, the workflow will offer to use one of two default URLs (one with parameters or one without).

The parameters are stripped using a regular expression substitution that replaces the matched group with nothing - effectively deleting it.

Tags: | workflow |