fork(9) download
  1. <?php
  2.  
  3. $input = '17/7/2014 14:58:44
  4.  
  5. Finalizada
  6.  
  7. 170848546';
  8.  
  9.  
  10. $regex = '/[0-9]{2}\/.*:[[0-6]{2}\s*(.*)\s*[0-9]{1,}/';
  11. preg_match($regex, $input, $resposta);
  12. echo 'O textto encontrado foi: '.$resposta[1];
Success #stdin #stdout 0.01s 20520KB
stdin
Standard input is empty
stdout
O textto encontrado foi: Finalizada