Template:GetYTId

From Complicit.Wiki
Jump to navigation Jump to search

Simple regex template to parse out the id of a youtube URL, or just pass along the id, ignoring any trailing slashes. {{#regex:apjNfkysjbM//|%^(.*=)?([^/]*)/*$%|$2}}

{{#regex:|%^(.*=)?([^/]*)/*$%|$2}} asdfasdf