I have web link, that is something like:
http://hr-platform.nv5.pw/image/comp_1/pdf-test.pdf
It may vary in text or extension. What i want is, get "pdf" string and woule be nice to have name of file, which is in that case - "pdf-test".
How to get those strings from web link? Thanks.