I'm trying to Replace a Cell with other Cell Text, the think is i need to removed some text from an Image URLs using Excel Formula.
Image URL : domain.com/images/products/63/63/19787/2/279/image-name.jpg
Text that i needed to be removed is 279/. But i need it to be removed at the exact place like domain.com/xxx/xxx/xxx/xxx/xxx/x/279/image-name.jpg between URL and Image name.
I've tried to split it first with this Formula
=MID(A1,FIND("|",SUBSTITUTE(A1,"/","|",LEN(A1)-LEN(SUBSTITUTE(A1,"/",""))-1)),LEN(A1))
Result after i used the Formula
/279/image-name.jpg
and i tried using Replace Formula to replace text from other cell text. Before that i removed the /279 from the result so its only /image-name.jpg now.
=REPLACE(A1, FIND(B1,A1), 4, C1)
But its keep giving me double result in the end of the text like this
domain.com/images/products/63/63/19787/2/image-name.jpg/image-name.jpg
result should be
domain.com/images/products/63/63/19787/2/image-name.jpg - without 279/
is there any problem with the Replace Formula ? or is there any other simpler Formula to make it work ?

=REPLACE(A1, FIND(B1,A1), 4, C1)to"". Because you want to replace the found text with an empty string. - Luuk