Python Insert Variable Into Regex Javascript Urlsearchparams