fork(1) download
  1. <?php
  2.  
  3. $my_regex = str_replace(array("?", "*", "/"), array('\?', "(.*)", '\/'), "/?hl=*&*$");
  4. echo $my_regex;
Success #stdin #stdout 0.02s 52432KB
stdin
Standard input is empty
stdout
\/\?hl=(.*)&(.*)$