title: Windows Batch File - Find and return string inside matching pattern
body: <p>I'm using a batch file to identify and load fonts temporarily. It looks for strings like <code>/FontFamily(Rubber Dinghy Rapids)/</code> occurring inside .ai and .pdf files. </p>
  
  <p>Now if I do <code>findstr /r FontFamily\(.*\) MyFile.ai</code>, this command returns a hugely interminable line of crap data with <code>FontFamily(Rubber Dinghy Rapids)</code> lost somewhere in there. I ACTUALLY need it to return the value of <code>.*</code> it found inside - in this case <em>Rubber Dinghy Rapids</em>.</p>
  
  <p>Can I do this more elegantly? Or maybe I can switch to using VBScript if it's more elegant there?</p>
  
  <p>My current solution is slow as hell... nested for loops, with one of them delimiting the crap data by the ( character, then finding the line that says <code>FontFamily(Rubber Dinghy Rapids</code> then stripping out the <code>FontFamily(</code> string, leaving me finally with <em>Rubber Dinghy Rapids</em>.</p>