$(function() { // remove title from permalink $('#t-permalink > a').each(function () { $(this).prop('href', ($(this).prop('href') || '').replace(/title=[^&]*&/, '')); }); });