Is there a way in JavaScript to get Boolean value for a match of the string against the array of regular expressions?
The example would be (where the \'if\' statemen
look this way...
function matchInArray(stringSearch, arrayExpressions){ var position = String(arrayExpressions).search(stringSearch); var result = (position > -1) ? true : false return result; }