title: Regex to find numbers in brackets, and also trim first match whitespace
body: <p>I have text strings with &quot;name (number)&quot;.</p>
  <p>I have the following regex that works <code>(.*)\((.*)\)</code> and would return the first element as <code>name</code> and second as <code>number</code>.</p>
  <p>However I need to strip the whitespace from &quot; name &quot; and using <code>(\S.*\S)\((.*)\)</code> but only matches if there is whitespace.</p>
  <p>I would like to strip whitespace, if any, and return <code>name</code> (stripped of left/right whitespace) and <code>number</code>.</p>