<?php $url = 'http://www.localhost.dev/skelbimas/ideti/uzsienio-objektai/11/'; preg_match('#/uzsienio-objektai/[-a-z0-9]*?([0-9]+)/?$#', $url, $matches); var_dump($matches);
You have javascript disabled. You will not be able to edit any code.