Replace All With Regex Javascript Example Functions In Python