title: extracting a substring from a huge string
body: <p>I have a huge string. I need to extract a substring from that that huge string. The conditions are the string starts with either "TECHNICAL" or "JUSTIFY" and ends with a number, any number from 1 to 10. so for example, i have</p>
  
  <p>string x = "This is a test, again I am test TECHNICAL: I need to extract this substring starting with testing. 8. This is test again and again and again and again";</p>
  
  <p>so I need this</p>
  
  <p>TECHNICAL: I need to extract this substring starting with testing.</p>
  
  <p>I was wondering if someone has elegant solution for that.</p>
  
  <p>Thanks in advance.</p>