Use Javascript Variable In String Python Replace