Hello Friend,
Please be clear in what are explaining. What do you really mean by "except first line"?
Ahamed
Hi, I trying do something like that:
I must replace all <img src="..." /> except first line, but with no results...PHP Code:
$string =
'<img src="1.gif" />
<img src="2.gif" />
<img src="3.gif" />
<img src="4.gif" />
<img src="5.gif" />';
$result = preg_replace('/(<img(.*)>$)/', '.', $string, -1);
echo $result;
Hello Friend,
Please be clear in what are explaining. What do you really mean by "except first line"?
Ahamed