title: Regex Break String Into Groups
body: <p>I have a string: </p>
  
  <pre><code>ABC/12345.DEF/ZYX.THIS IS THE REST OF THE STRING  
  </code></pre>
  
  <p>I need regex that will break this into 3 names groups:  </p>
  
  <pre><code>FIRST: 12345
  SECOND: ZYX
  THIRD: THIS IS THE REST OF THE STRING
  </code></pre>
  
  <p>This is what I have come up with:</p>
  
  <pre><code>(?=.*\bABC\/(?&lt;FIRST&gt;[\w\d\s,]*)\.\b)(?=.*\bDEF\/(?&lt;SECOND&gt;[\w])\b)(?&lt;THIRD&gt;[\w\W\s]*)
  </code></pre>
  
  <p>That yields:</p>
  
  <pre><code>FIRST: 12345
  SECOND: ZYX
  THIRD: ABC/12345.DEF/ZYX.THIS IS THE REST OF THE STRING
  </code></pre>
  
  <p>Any help will be greatly appreciated.
  Thanks</p>