Hello

I am trying to do a regex that would extract the youtube video ID from a URL

i found this 
https://stackoverflow.com/questions/3452546/how-do-i-get-the-youtube-video-id-from-a-url
 and 
the regex seems to be 

/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/

however it is not working in Tiddly 


{{{ 
[[https://www.youtube.com/watch?v=OcLbZFS4Ge8&t=68s]splitregexp[/^.*((youtube.com/]]
 }}}


anyone can assist?


thank you 



-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/23bd14e8-e95f-45ce-91a1-03fda456b2dd%40googlegroups.com.

Reply via email to