Js Use Variable In Regex Python String Replace Not Working