Python Split String Using Regex In Replace