title: How to get a substring after the last underscore (_) in unix shell script
body: <p>I have a String like this</p>
  
  <pre><code>this_is_test_string1_22
  this_is_also_test_string12_6
  </code></pre>
  
  <p>I wanted to split and extracts string around the last underscore. 
  That is i wanted the outputs like this</p>
  
  <pre><code>this_is_test_string1 and 22
  this_is_also_test_string12 and 6
  </code></pre>
  
  <p>Can anyone help me how to get this in unix shell scripting.</p>
  
  <p>Thanks. Sree</p>