Create Regex From String Python Replace Function