title: split string in php "genesis 1:3-16" to "genesis", "1", "3", "16"
body: <p>In php when user saves a text, I need to split string as</p>
  
  <p>"genesis1:3-16" ==> "genesis", "1", "3", "16" </p>
  
  <p>"revelation2:3-5" ==> "revelation", "2", "3", "5" </p>
  
  <p>The conditions are there will be no white spaces between all characters I need to split according to symbol ":", "-", and character. the numbers can go up to only '999' 3 digits.</p>
  
  <pre><code>$sample = "genesis1:3-16";
  
  //magic happens....
  
  $book = "";        // genesis
  $chapter = "";     // 1
  $start_verse = ""; // 3
  $end_verse = "";   //16
  </code></pre>
  
  <p>I have limited knowledge of reg expression and can't figure out using only strpos and substr... </p>
  
  <p>Thank you in advance</p>