title: How can I select only the 4 digit numbers surrounded by paren's using xpath?
body: <p>If I have:</p>
  
  <pre><code>&lt;list&gt;
  &lt;item&gt;ABCD&lt;item&gt;
  &lt;item&gt;(EFGH)&lt;item&gt;
  &lt;item&gt;(4567)&lt;item&gt;
  &lt;item&gt;(123)&lt;item&gt;
  &lt;item&gt;(56789)&lt;item&gt;
  &lt;item&gt;6789&lt;item&gt;
  &lt;item&gt;ABC&lt;item&gt;
  &lt;/list&gt;
  </code></pre>
  
  <p>and ONLY want to get back 4-digit numeric values surrounded by parens - the (4567), what xpath expression can I use in my xslt?</p>
  
  <pre><code>&lt;xsl:for-each select="//list/item[EXPRESSION_HERE]" &gt;
  &lt;result&gt;&lt;xsl:value-of select="." /&gt;&lt;/result&gt;
  &lt;/xsl:for-each&gt;
  </code></pre>