Create Regex From String Python Replace