I want to exit a string using regex and I need some help. I have a long string and I am interested in taking all the URLs from that string and adding a specific string to them. For example:
"You can go to www.google.com, or if you want a different engine, you can go to https://www.bing.com, whichever you prefer"
That string needs to become this:
"You can go to www.google.com/whatever, or if you want a different engine, you can go to https://www.bing.com/whatever, whichever you prefer"
Thank you in advance!