if (req.url ~ "/some-(custom|dynamic|complex)-pattern/url/path") {
  log "syslog " + req.service_id + " loggerName :: Rewriting " + req.url + " to /status/200";
  set req.url = "/status/200";
}