Regex Replace Pandas Dataframe Groupby