Python Insert Variable Into Regex Tester Js