fork(2) download
  1. <?php
  2.  
  3. $matches = array();
  4. $regExp= "/(?<=flv-url=).*(?=;)/Ui";
  5. $text = "flv-url=text1234;";
  6. preg_match($regExp, $text, $matches);
  7. var_dump($matches);
Success #stdin #stdout 0.02s 52432KB
stdin
Standard input is empty
stdout
array(1) {
  [0]=>
  string(8) "text1234"
}