Jquery Search & Replace

Super easy search and replace using Jquery

var str = "find now string here...";
str.split('find').join('replace with this');

Leave a Reply

Your email address will not be published. Required fields are marked *