Hey guys,
I was simply wondering what would be the simplest and most efficient way of extracting a certain part of a dynamic string in PHP?
Per example, in this string:
http://www.dailymotion.com/video/xclep1_school-gyrls-something-like-a-party_music#hp-v-v13
I'd only like to extract (and insert in a variable) the: " xclep1_school-gyrls-something-like-a-party_music ".
The main goal is to take this part, insert it to this URL: http://www.dailymotion.com/thumbnail/160x120/video/xclep1_school-gyrls-something-like-a-party_music so I can capture the thumbnail externally.
Sorry if this is a "newbie" question and thank you very much for your time. Any hint/code/php reference is appreciated.