Hi there,
I have this line of code...
$lastline2 = str_replace("2001\</span\>","2001\</span\>\<br /\>",$lastline2)
It is part of a script that reads the last line of a file and reformats it.
Could anyone tell me how I can change the '2001</span>' to accept any date starting with 2??? - ie so it works next year!!
I am new to PHP and regex's daunt me!!
Any help appreciated.
Mike