<?php $str ="https://example.com.ua/part1/part2/part3/product-123.html"; Echo Substr($str, strrpos($str, "/")+1);
You have javascript disabled. You will not be able to edit any code.