in reply to Re: Multi replace in a Line
in thread Multi replace in a Line

Thanks for your reply!. In $same i capture the data between my patterns, so once i come out of the loop, i can replace with the pattern i got in $same.