match(regexp) https://developer.mozilla.org/ja/JavaScript/Reference/Global_Objects/String/match var newString = str.replace(regexp|substr, newSubStr|function[, flags]); https://developer.mozilla.org/ja/JavaScript/Reference/Global_Objects/String/replace