Codice PHP:
$pattern '(.+)\\.it\\/(.+)\\/(.+)';
if (
eregi($pattern,$url,$regs)) {
 
$nomedaprendere $regs[2];