title: Regex - Match Exact (and only exact) string/phrase
body: <p>I'm having some trouble using Regex to match an exact string (and only that string, must not contain prefix or suffix) out of a sample with only slight variations.  </p>
  
  <p>I've looked over every "duplicate" this has been compared to, and none of the solutions seem to apply to the problem I'm trying to accomplish.  If it is indeed a duplicate, I'd love to see how!</p>
  
  <p><strong><em>Phrase to Match:</em></strong> 
  Metallica - Master Of Puppets</p>
  
  <p><strong><em>Sample Text:</em></strong></p>
  
  <pre><code>Metallica - Master Of Puppets (instrumental)
  
  Metallica - Master Of Puppets
  
  - Metallica - Master Of Puppets
  </code></pre>
  
  <p>I've tried a few different approaches with this.  </p>
  
  <ul>
  <li>There's "the starting point": ^(Metallica - Master Of Puppets)$</li>
  <li>The "slightly more involved": ^((?!Lamb of God - Laid to Rest).)*$</li>
  <li>The "I'm getting desperate": /(?&lt;=\||\A|\n)(Metallica -
  .Master.of.Puppets)(?=\||Z|\n)/g</li>
  <li>and the "im out of ideas, so why the hell not": (?=^\s*Metallica - Master Of
  Puppets).{29}</li>
  </ul>
  
  <p>None of which will match the correct (the second option, in bold) string.  I've dedicated the better part of my free-time from last night on this one little string rather than coding out a new app I've been working on (I really do hate to give up), and am, at this point, out of ideas, examples and patience. Nonetheless, I really would like to get to the bottom of what this seemingly simple Regex need will take to accomplish, both for the app and for my mental well being (I hate Regex, but love a good challenge).</p>
  
  <p>Note: I DO need this to be done in Regex (not grep, not java etc).  Sorry to throw such a seemingly menial question up, but my 15 or so months in the programming world only gets me so far.  Looking forward to a solution, thanks!5</p>