JavaScript operator similar to SQL "like"
<blockquote>
  <p><strong>Possible Duplicate:</strong><br />
  <a href="http://stackoverflow.com/questions/1314045/emulating-sql-like-in-javascript">Emulating SQL LIKE in JavaScript</a>  </p>
</blockquote>

<p>Is there an operator in JavaScript which is similar to the <code>like</code> operator in SQL? Explanations and examples are appreciated.</p>
