$('.top-text a').text(function(index, oldText) { return oldText.replace("info@revelgymnasticsct.com", "revelgymnasticsct@gmail.com"); });