fork download
  1. <?php
  2.  
  3. $value = 'daryaa-manmarziyan-(VideoStatus.Net).mp4';
  4. $final_value = preg_replace("/[^\w.]+|\.(?=[^.]*\.)/", "", $value);
  5. echo $final_value;
Success #stdin #stdout 0.02s 24008KB
stdin
Standard input is empty
stdout
daryaamanmarziyanVideoStatusNet.mp4