title: javascript - match string against the array of regular expressions
body: <p>Is there a way in JavaScript to get Boolean value for a match of the string against the array of regular expressions?</p>
  
  <p>The example would be (where the 'if' statement is representing what I'm trying to achieve):</p>
  
  <pre><code>var thisExpressions = [ '/something/', '/something_else/', '/and_something_else/'];
  var thisString = 'else';
  
  if (matchInArray(thisString, thisExpressions)) {
  
  } 
  </code></pre>