replace strings from larger string
Hi All,
i have a senario where i have larger string which has all the emails like this
'abc1@gdf.com,uj4@gdf.com,ss5@gdf.com,po4@gdf.com,lle5@gdf.com,jjp2@gdf.com'
i need to replace abc1@gdf.com with purchase@gdf.com
,ss5@gdf.com with purchase@gdf.com
and jjp2@gdf.com with purchase@gdf.com
if i use replace i am getting mutilple purchase@gdf.com in the string like this
' purchase@gdf.com,uj4@gdf.com,purchase@gdf.com,po4@gdf.com,lle5@gdf.com,purchase@gdf.com'
i want to make it like this '