The regular expression is the trickiest thing for me I'm always confused.
so can you please help me with how to extract a file name from this type of link?
An example -
example URL
https://testing-web/v0/b/one-more-testing.com/o/images%2Frandom-name.jpg?alt=media&token=aaf324df-4199-4d2c-bf3a-ffb3120d0314
and from that URL I want to extract string content from -
after %2F
and before ?alt=....
random-name.jpg
how can I achieve that kind of output or result?
any help will be always appreciated