Jump to content

preg match confusion??


ohdang888

Recommended Posts

Alright, i want to take a url like this:

http://www.youtube.com/watch?v=CVWvCJcse8w&feature=youtube_gdata

 

and just get the ID of the video ( value of v)

 

I've tried preg match, but i'm terrible figuring out the way those combination of letters are supposed to go.

 

How would it go?

 

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/184843-preg-match-confusion/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.