title: Regex in XSLT transformation?
body: <p>I need to extract some data from XML field using XSLT 2.0 and I don't know the best way to do that.
  Here is my XML value:</p>
  
  <pre><code>&lt;PayReaCom&gt;AP@1267347323/11122/01/2017/REF1AP@&lt;/PayReaCom&gt;
  </code></pre>
  
  <p>And I need everything between <code>AP@</code> and <code>AP@</code>; so in this case:</p>
  
  <pre><code>1267347323/11122/01/2017/REF1
  </code></pre>
  
  <p>I tried using <code>substring</code>, but I don't know how to set restrictions for <code>AP@</code>.</p>
  
  <p>Can I use a regular expression here?</p>