A solution for capture set/unset/catch a value of param query of URLs.
Here is a example code that applies this pattern in JS, but JS doesn't have support to lookbehind.