var newstr = str.replace(re, "oranges");. 4. console.log(newstr). Source: www.tutorialspoint.com. javascript replace all. javascript by Grepper on Jul 22 ...
確定! 回上一頁