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