я пытаюсь изменить href с каждым методом,
вот демо, осмотрите, вы увидите, что нет никаких изменений
html:
News
Detail
Sport
Football
jQuery:
$('a').each(function() {
$(this).attr('href').replace('#/',''); //tried to erase #/ from all hrefs
});