Hi,
I have that:
Code: Select all
$x = ". . .
<div class="somecalss"> . . .
. . .
. . .
</div>
. . .";
$y = "some html code";.I now that I can do it with RegEx (regular expression) and str_replace but how to define a RegEx?
How can do that?
Is it something like that:
Code: Select all
$r='/\'<div class="somecalss">+.+'</div>''/\';Thanks.