<?php $my_regex = str_replace(array("?", "*", "/"), array('\?', "(.*)", '\/'), "/?hl=*&*$");echo $my_regex;
Standard input is empty
\/\?hl=(.*)&(.*)$
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!