Files
maher 511fad8199
Build / run (push) Has been cancelled
Initial commit
2026-05-14 13:42:10 +02:00

4 lines
93 B
TypeScript
Executable File

export function youtubeIdFromSrc(src: string) {
return src.match(/((?:\w|-){11})/)?.[0];
}