Regex Replace Substring Python Example