Trying to split strings with a known starting segment and optional additional segments until a common endpoint.
eg.
https://example.com/folder/upload/v1/subfolder/asset.doc
https://example.com/folder/upload/temp_cache_folder_id/v1/subfolder/asset.doc
Basically need to remove anything between /upload/ and /v1/
Currently got as far as
string.split(/.*?(?=v1)/)
Not sure how to proceed looking back until /upload/ and return
[https://example.com/folder , v1/subfolder/asset.doc]
upload/temp_cache_folder_id is joined with certain env variables later so it isn’t needed. That’s why the split was done in the first place.
ivermectin 5 – ivermectin for covid 19 buy ivermectin usa
sildenafil 100 online – erectile dysfunction treatment how to order viagra online
cost of prednisone 5mg tablets – 60 mg prednisone prednisone 20 mg tablets coupon
clomid coupon – order clomid clomid 2020
citotec – buy cytotec online uk cytotec for iud placement
average cost of cialis prescription – cialis price nz
buy accutane online australia – accutane cheapest price isotretinoin online
over the counter viagra in canada – Canada viagra viagra online canada
ivermectin 9 mg tablet – stromectol stromectol ivermectin online
356586 761562Enjoyed reading by means of this, very great stuff, thankyou . 857839
can you buy doxycycline online – how to get doxycycline prescription prednisolone 20 mg buy online
hydroxychloroquine sulfate brand name – hydroxychloroquine zinc apo-prednisone
orlistat dosage for adults – xenical pret orlistat alli
cheap daily cialis online – cialis buy cialis canada paypal
cialis low cost – Discount cialis cialis gel
buy ivermectin 3 mg – stromectol buy ivermectin 3mg stromectol
isotretinoin 10 mg – buy 40mg accutane online accutane us
buy generic plaquenil – plaquenil 400mg sale buy generic valacyclovir 1000mg
buy sildalis online – order sildalis cost glucophage
brand ampicillin – hydroxychloroquine over the counter buy hydroxychloroquine pill
stromectol 3 mg dosage – stromectol 3mg brand ivermectin 6mg tablet for lice
811527 912748But wanna comment on couple of general issues, The site style is perfect, the content material material is actually very good : D. 638877
buy tizanidine pills – prozac 10mg tablet order colchicine for sale
fda approval molnupiravir molnupiravir nz paxlovid vs molnupiravir molnupiravir medicament
molnupravir molnupiravir drug price molnupiravir sales molnupiravir half merck pill covid19 hospitalization
where to buy molnupiravir molnupiravir covid price pill to cure covid molunpiravir
alternative to viagra how to buy viagra online in usa what is viagra for women where can i buy viagra over the counter
synthroid 25 mg 50 cg synthroid alpha lipoic acid and synthroid synthroid how long before eating
plaquenil headache plaquenil sale plaquenil side effects on heart how long does it take plaquenil to start working for ra