Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
6 lines (5 sloc) 141 Bytes
var x = 'OK this is Sony AK OK';
var xx = x.replace(new RegExp("OK", "g"), '');

alert(xx); // it will display --> this is Sony AK
You can’t perform that action at this time.