Hi,
Any of you gone through this task? Please tell me a solution.
I have to extract video id alone from youtube url : http://www.youtube.com/watch?v=Ls8ppLu72NQ&feature=popular
From this i need only Ls8ppLu72NQ How can i extract it. I know i can use string replace but is there a way to
extract it easily with regex.
Url can be all these formats
http://www.youtube.com/watch?v=Ls8ppLu72NQ&feature=popular
http://www.youtube.com/watch?v=Ls8ppLu72NQ
http://www.youtube.com/watch/Ls8ppLu72NQ