Help in Regex - Match YouTube Url

I have the following string for example:

abcba"c"bacba"fbaf"gdsfgafa"http://www.youtube.com/watch?v=0eLoApO7wrs"gsg

How can I extract the youtube url from this string?

Answers


"\"(http:[^\"]*)\""

Need Your Help

How to query for a BigDecimal range in JPA

hibernate jpa-2.0 criteria-api bigdecimal

So I made the decision to store latitude and longitude as BigDecimals

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.