title: Get Substring - everything before and after certain characters
body: <p>I am trying to find the best possible way to get a value of each variable from the output string as below:</p>
  
  <pre><code>SUCCESS Post Policy Success INVOICE No. :: WS1704003404 || Policy No :: 
  59203313 || App No. :: 123456724 
  </code></pre>
  
  <p>This is the string output that we got and we want to get the value of</p>
  
  <pre><code>WS1704003404
  59203313
  123456724
  </code></pre>