<?php

preg_match('~/\K\w+(?=[^/]*$)~m', 'https://i...content-available-to-author-only...r.com/SyuKFYj', $id);
echo $id[0];

