title: Get text between two strings in unix
body: <p>i need to get the text between two words or text segments in a string.</p>
  
  <p>I've searched and tried EVERTYHING with sed, and can't get it to work :S</p>
  
  <p>I have a string like "aaa bbb ccc ddd eee" and i want to extract the text between, let's say, bbb and ddd.</p>