fork download
  1. <?php
  2. $re = '/:\s*(.*?)\s*\+/';
  3. $str = "Text Test: Look at this + el richie";
  4. preg_match_all($re, $str, $matches);
  5. echo $matches[1][0];
  6. ?>
Success #stdin #stdout 0.02s 24484KB
stdin
Standard input is empty
stdout
Look at this