Python Replace By Regex Javascript Password