title: How to use just asterisk wildcard when searching?
body: <p>I want to just support asterisk(*) wildcard not regex.</p>
  
  <p>This is my code :</p>
  
  <pre><code>for example : checkNames[i] = "Number of ongoing MS sessions"
  
  
  var checkName = checkNames[i].split("*").join(".*");
  supportRegExp(dataSource[j].ColumnName, checkName, validatedList,dataSource[j]);
  </code></pre>
  
  <p>and this is my supportRegExp function : </p>
  
  <pre><code>function supportRegExp(arrayElem, checkName, validatedList, elem) {
      var regexpArr = checkName
          .replace(/\t/g, '\n')
          .split("\n")
          .map(function (item) { 
              return "^" + item + "$"; 
          });
      var regexp = new RegExp(regexpArr, 'i');
      $my.isMatched = regexp.test(arrayElem)
      if ($my.isMatched) {
          validatedList.push(elem);  //elem: my object { inside ColumnName, DisplayName }
          AddValidatedList(arrayElem); //arrayElem : elem.ColumnName or elem.DisplayName bla bla.
      }
  }
  </code></pre>
  
  <p>This is works. I am writing "num*" and coming result and then I am writing "num|m" and coming result. Because I am using regexp so I want to just support '*' sign. </p>
  
  <p>For example : When I am writing num*, result should come but I am writing num|m should not come result. Because I want to just support asterisk sign. </p>
  
  <p>How can I do ?</p>
  
  <p>Any idea please.</p>