fork(1) download
  1. <?php
  2.  
  3. $url = 'https://w...content-available-to-author-only...e.com/assets/screenshots/this-is-an-example/2016-12-20_15-42-29.png';
  4. preg_match('/^(?=.*\/assets\/).*\/\K.*$/',$url,$matches);
  5.  
  6. print_r($matches[0]);
Success #stdin #stdout 0.02s 23732KB
stdin
Standard input is empty
stdout
2016-12-20_15-42-29.png