Python Replace Regex String Javascript Example