title: How can I extract substrings from a string in Perl?
body: <p>Consider the following strings:</p>
  
  <p>1) Scheme ID: <strong>abc-456-hu5t10</strong> (<strong>High priority</strong>) *****</p>
  
  <p>2) Scheme ID: <strong>frt-78f-hj542w</strong> (<strong>Balanced</strong>)</p>
  
  <p>3) Scheme ID: <strong>23f-f974-nm54w</strong> (<strong>super formula run</strong>) *****</p>
  
  <p>and so on in the above format - the parts in bold are changes across the strings.</p>
  
  <p>==> <em>Imagine I've many strings of format Shown above.</em>
       I want to pick 3 substrings (As shown in BOLD below) from the each of the above strings.</p>
  
  <ul>
  <li>1st substring containing the alphanumeric value (in eg above it's "abc-456-hu5t10")</li>
  <li>2nd substring containing the word (in eg above it's "High priority")</li>
  <li>3rd substring containing * (<code>IF</code> * is present at the end of the string <code>ELSE</code> leave it )</li>
  </ul>
  
  <p>How do I pick these 3 substrings from each string shown above? I know it can be done using regular expressions in Perl... Can you help with this?</p>