I want to get the file path by its firebase link. For example, the source url was "https://firebasestorage.googleapis.com/v0/b/dev.appspot.com/o/temp%2F1-5%2Ftemp_file_637605453170534484%2F2.png?alt=media&token=575e6226-1ffc-4697-b44a-724d2b7f734d"
I want to only get the temp%2F1-5%2Ftemp_file_637605453170534484%2F2.png
(this part changes every time, it was not always a .png or temp at start) part. I know its possible with regex but I'm not familiar with regex and I cant find a key to compare. Note that the firebase url seems like to be constants on the start string so every url I have its start with https://firebasestorage.googleapis.com/v0/b/dev.appspot.com/o/