4 ms·
I like it! But it seems that it still have some bugs. Try: /^.(youtu.be\/|v\/|e\/|u\/\w+\/|embed\/|v=)([^#\&\?]).*/ This is suppose to match: http://www.youtu
by ChrisCinelli 14y ago
I like it! But it seems that it still have some bugs.
Try:
/^.(youtu.be\/|v\/|e\/|u\/\w+\/|embed\/|v=)([^#\&\?]).*/
This is suppose to match: http://www.youtube.com/watch?v=F1Y3XJ44icU http://www.youtube.com/watch?v=F1Y3XJ44icU
- ChrisCinelli 14y agoOk.. The problem was the initial and final "/". :-P I love it.