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.

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>