nkm


Member since 03/24/2009

1 snippets

4315 profile views

1 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

nkm's Recent SnippetsTagged javascript



« Prev 1 Next »
PCRE that matches any kind of YouTube URL and catches its video ID. It supports three kinds of URL: the classic (?v=), the AJAXed one (#!v=) and the short version (youtu.be). It also supports international URLs. Tested with Javascript and PHP.
1 1612 posted 14 years ago by nkm
« Prev 1 Next »