var res = str.replace("Microsoft", "W3Schools");