[Solved] Replace text in a string using jQuery October 31, 2022 by Kirat Should Try this "YourText".replace(/ABCDEFG/g,'XYZ'); 0 solved Replace text in a string using jQuery