$(document).
ready(
  function() {
    $('a.emailadres').
    each(
      function() {
        $(this).
        attr('href',
          $(this).
          attr('href').
          replace(/^postnaar\b/, 'mailto').
          replace(/_apestaartje_/g, '@').
          replace(/_punt_/g, '.').
          replace(/_streepje_/g, '-')
        );
      }
    );
  }
);

