title: Binary pattern matching - Can I extract the numbers out of "/word/number/word/number"
body: <p>I know how to do this with regular String operations, but I'm curious if it's possible to match in one step.</p>
  
  <p>Let's say I have <code>accounts/123123/order/234234234</code>. It's from an external source, so while I know that <code>accounts/</code> and <code>/order</code> are always fixed length/value, the numbers might not always be a fixed length. Is there any way to do binary pattern matching here? Or anything better than a few String operations?</p>