How to change specific characters at the end of ALL hyperlinks w/in webpage with jQuery

How to change specific characters at the end of ALL hyperlinks w/in webpage with jQuery

Hey all,

I have a list of items with titles that are hyperlinks to the actual content.  The code below removes the .aspx part from the title, but for some reason the code also changes all titles for each item to be the same.

Each item should have a unique title with the .aspx removed.

Any help is appreciated!
  1.  $(document).ready(function () {
           var val = $(".dfwp-item .link-item a").html();
           $(".dfwp-item .link-item a").html(val.substring(0, val.length -5));
        });