jquery delete string from div code example Example: jquery remove string from string myString.replace('username1','');