Como substituir o atributo attr href por cada um? // tira o URL

estou tentando mudar href com cada método,

aqui está demo, inspecione um, você verá que não há mudança

html:

<a href="#/news">News</a>
<a href="#/news/detail">Detail</a>
<a href="#/sport">Sport</a>
<a href="#/sport/football">Football</a>​​​​​​​​​​​​

jQuery:

$('a').each(function() {
  $(this).attr('href').replace('#/',''); //tried to erase #/ from all hrefs
});​

questionAnswers(3)

yourAnswerToTheQuestion