How to Replace Regex Groups in Pandas

How to replace values with regex in Pandas