Hi,
I've been programming in PHP for a couple of years now, but I've never really learned regular expressions. I know the basics, but now when I really need it, I can't seem to make it work.
I have about 200 files with PHP2-code that I need to upgrade to PHP4. All files have includes like this:
<? include "somefile.inc">
And I need to replace this with:
<?php include('somefile.inc'); ?>
I've tried to google on it, but there are just tutorials for the most basic reg exps, which I already know. So can anybody help me out here? 🙂