title: Search files using glob() and keywords
body: <p>I have a bunch of files I want to search using the <code>glob(pattern);</code> function.<br>
  I also have a text box in an HTML form that will be used as keywords.  </p>
  
  <p>Currently my pattern looks like this:<br>
  <code>glob("*.{avi,mkv,mp4,flv,mov}</code><br>
  But I need to replace the <code>*</code> with the text box value as multiple keywords.</p>
  
  <p>How would I do that?</p>