R
Rob
Hello,
I am trying to use perl to remove all data which comes between these
two tags:
<div class="left">......</div>
This is the code I have so far but it is not doing the job:
$description=~ s|(.*? <div \s+ class="left"> .*? <div \s+
class="left"> .*?)<div \s+ class="left"> .*? </div>(.*? <div \s+
class="left">)|$1$2|sxg;
Any help would be appreciated.
Many thanks
Rob
I am trying to use perl to remove all data which comes between these
two tags:
<div class="left">......</div>
This is the code I have so far but it is not doing the job:
$description=~ s|(.*? <div \s+ class="left"> .*? <div \s+
class="left"> .*?)<div \s+ class="left"> .*? </div>(.*? <div \s+
class="left">)|$1$2|sxg;
Any help would be appreciated.
Many thanks
Rob