remove a character from a string using jquery code example Example: jquery remove string from string myString.replace('username1','');