title: Match exact string
body: <p>What is the regular expression (in JavaScript if it matters) to only match if the text is an exact match? That is, there should be no extra characters at other end of the string.</p>
  
  <p>For example, if I'm trying to match for <code>abc</code>, then <code>1abc1</code>, <code>1abc</code>, and <code>abc1</code> would not match.</p>