regex replace



/(\<\?)(?!php)/ig


find all begin with <?,but not the <?php string <?

testing your regex



http://regex101.com/



留言