JavaScript regex for whole word match base on a set of characters

后端 未结 0 538
一向
一向 2020-12-15 07:05
  div = $(\'#m\');

  var str = \'The cat will run after to mouse\';
  strSearch = [\'a\'];
    
    $.each(strSearch, function(i, word) {
            reg = new RegE         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题