I'm trying to extract the Google Drive Folder ID on Google sheets formulas. The issues is there are two type of URL are pasted by different Individuals in the sheet.
With the sharing ? mark at the end
https://drive.google.com/drive/folders/1GY5VHUvkzjrq7vKbrFJG_9ALnF_TEeoB?usp=sharing
Without the sharing ? mark at the end
https://drive.google.com/drive/folders/1GY5VHUvkzjrq7vKbrFJG_9ALnF_TEeoB
I used this =REGEXEXTRACT(I2, ".*/(.*)") which doesn't work for above both links, how can i modify the formula that will extract only the ID of above two tyes of URL?
Thanks in Advance
