Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9704

google sheet need formula to go backward directory of URL link

$
0
0

example i have data in colum https://www.mybookStore.com/images/products/80/1020/40422/2/279/howtocookegg8.jpghttps://www.mybookStore.com/images/products/80/1020/40422/2/279/howtocookegg9.jpg

i need the formula that can go backward one or two directory in url link, so the result would be:

https://www.mybookStore.com/images/products/80/1020/40422/2/howtocookegg8.jpghttps://www.mybookStore.com/images/products/80/1020/40422/howtocookegg9.jpg

i read article about relative file paths: Starting with "/" returns to the root directory Starting with "../" moves one directory backwards Starting with "../../" moves two directories backwards

How to do that on google sheets formula or script, assume i have in A1: https://www.mybookstore.com/images/products/80/1020/40422/2/279/howtocookegg8.jpg

so column B1: would be https://www.mybookstore.com/images/products/80/1020/40422/2/howtocookegg8.jpg

in C1: https://www.mybookstore.com/images/products/80/1020/40422/howtocookegg8.jpg

i need formula or script that can do that, please help, thanks you.


Viewing all articles
Browse latest Browse all 9704

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>