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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find YouTube Link
Expression
^http://\w{0,3}.?youtube+\.\w{2,3}/watch\?v=[\w-]{11}
Description
Validates a YouTube Link
Matches
http://youtube.com/watch?v=94opF-9PJ2I | http://www.youtube.com/watch?v=94opF-9PJ2I | http://www.youtube.com/watch?v=Iu4gxId0okA&feature=channel | http://www.youtube.com/watch?v=1D2HEM1cyuw&feature=related | http://es.youtube.com/watch?v=1D2HEM1cyuw&feature=related
Non-Matches
http://tube.com/watch?v=94opF-9PJ2I | http://www.youtube.com/watch?v=94PJ2I | http://www.youtube.com/wh?v=Iu4gxId0okA&feature=channel | http://www.youtube.watch?v=1D2HEM1cyuw&feature=related | http://espanol.youtube.com/watch?v=1D2HEM1cyuw&feature=related
Author Rating: Not yet rated. Rodrigo Iloro
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

Title: super!
Name: tunggad
Date: 9/25/2009 10:08:25 AM
Comment:
works like a charm. Thank you very much!


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