how to remove word from string A to B point in php : i have this string :

    <a href="/title/tt3110958/?ref_=nm_flmg_act_2" style="color:#666" >


how to remove all word from `?` to `"` in my string .
