Regular Expressions
step1. 문자하나 찾기
살수다
2017. 11. 10. 17:31
반응형
1. 문자 하나 찾기
var context = "Hi, my name is tistory. it's blog! nice to meet you! Please visit this tistory's blog often.";
var myRe = new RegExp("tistory", "gi");
var myArray = context.match(myRe);
console.log(myArray);
반응형