1var str = "That is like so not cool, I was like totally mad.";
2var cleanStr = str.replace(/like/g, "");//replace every "like" with blank ""
1string2 = "I love you 我爱你"
2englishChars = string2.replace(/[^a-z ]/ig, "").trim().split(/\s+/);
3nonEnglishChars = string2.replace(/[a-z ]/ig, "").split(/[ ]*/);
4final = englishChars.concat(nonEnglishChars);
5console.log(final);