Hi! Could we please enable some services and cookies to improve your experience and our website?
Online Sandbox for SQL and PHP: Write, Run, Test, and Share SQL Queries and PHP Code
<?php
$url = 'http://link.ovk-term.ru:8081/hs/OnlineStore/file/933e03a2-647b-11ef-ab70-a4bf01751b0e';
// using preg_match
preg_match('/(\/[^\/]+)$/', $url, $matches);
echo $matches[1].PHP_EOL;
// using parse_url
echo parse_url($url, PHP_URL_PATH);