I have a feed that imports youtube video links within my pipe, however naturally youtube links are displayed in various formats...
http://youtube.com/onmdclU47Us
http://youtu.be/onmdclU47Us
http://www.youtube.com/watch?feature=player_detailpage&v=onmdclU47Us
and various other variations with url parameters. I'm trying to parse each link and get an embed link for the video instead. Which basically is using the regex function and swapping it out for a youtube.com/embed/{video_ID} instead.
However this doesn't work on all instances... this is what I've got, any help?
.+watch\?v=([0-9a-zA-Z-]+)
&([a-zA-Z0-9_-]+)?=([a-zA-Z0-9_-]+)?.([a-zA-Z0-9_-]+)?
.watch?feature=player_embedded&v=([0-9a-zA-Z-]+)
http://youtu.be/([0-9a-zA-Z-]+)
Are these right, or am I missing something?