Posted by Razvan on 03/24/07 09:37
Hello there,
I have the following problem:
I have a big html and i want to remove from it everything between some
tags and to keep the rest, of course using regex, but any solution
will be great.
The number and type of tags may vary. Here is an example:
<body>
text text text text text text text
text text text
text text text text
<remove1>
text text text text text text
text text
text
text text text
</remove1>
text text text
text text
<remove1>
text text text text
</remove1>
text text
text text
text text text
<remove2>
text text text text text
text text text
text text
</remove2>
text text text text text
text text text text
</body>
Any suggestions will be appreciated !
Thanks.
Navigation:
[Reply to this message]
|