4 ms·
Debuggex review - impressive regular expression tool
- ChrisCinelli 14y agoI 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.