prova cosi' (se ho ben capito):

codice:
var sito="http://www.prova.it/francesco/prova.html";
var sottostringa=sito.split('/')[3];
ciao