This snippet only matches on URL's from youtube.com.
This snippet only matches on URL's from youtube. Com: var url = 'youtube.com/watch?v=XODUrTtvZks&feature=...; var matches = url. Match(/^https?
:\/\/www.youtube.com\/watch\? \s*v=(^&+)/i); if (matches) { var videoID = matches1; // do stuff }.
You can use /v=(^&+)/ and get the match at offset 1.
Dude. Mellamokb had already provided answer. – Siva Charan Oct 7 at 15:39 And I give my own answer, dude – mck89 Oct 7 at 15:44 +1 for the correct answer.
– Siva Charan Oct 7 at 15:49.
You can use an online tool called RegExr to get your regular expression ,gskinner.com/RegExr/. Regards Rahul.
(?:a-zA_Z{2,3}. )?(?:youtube\. Com\/watch\?
)((?:\w\d\-\_\=+&(?:amp;)? )*v(?:)? =(0-9a-zA-Z\-\_+))/i.
Exec(url)2; } You can see it here: code.google.com/p/closure-library/source....
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.