I'm continually adding new rows to Google Sheets. I need 2 scripts (not formulas!) to find and replace text values in 2 different columns.
Script 1: In Column D, I have multiple rows that contain 1 of 2 values:
- Jones
- JD-Market
I need ALL rows in Column D to read: JD-Market
Script 2: In Column E, I have multiple rows that contain URLs. I need to find and replace certain text within those URLs with other text.
Sample URL: http://www.sample.com/test/boat-water/2468
I want to replace only "boat-water" with "car-road"
New URL: http://www.sample.com/test/car-road/2468
I can't use formulas for these changes. I need to use scripts.
Thanks for your help! Much appreciated!