Here is my string:
string = "abcdef.sfdsf_3asafds-fdsfd;info=<http://www.amazon.com:8080/abc/ads/asdf>;tag=abc123;val=hello"
My goal using gsub/sub in ruby to replace:
info=<http://www.amazon.com:8080/abc/ads/asdf>
with:
info=<private-url>
I tried a few attempts using regexp but they are buggy. Any advice?