RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Google Video ID from URL
Expression
'/http:\\/\/\.?video.google.\w{2,3}\/videoplay\?docid=([a-z0-9-_]+)/i'
Description
This will extract the Video Id From Google Video URL which the number sequence after docid= and will check url.. make sure its a valid google link
Matches
http://video.google.com/videoplay?docid=24495753fgf30029419184# | http://video.google.ca/videoplay?docid=-6555753fgf3002941918 | http://video.google.ru/videoplay?docid=278677853fgf30029419184
Non-Matches
http://video.google.com/?docid=24495753fgf30029419184|http://google.com/videoplay?docid=24495753fgf300294191
Author Rating: Not yet rated. Rick Estrada
Source
Your Rating
Bad Good

Enter New Comment

Title

Name

Comment

Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Copyright © 2001-2025, RegexAdvice.com | ASP.NET Tutorials