View Single Post
Old 04-17-2012, 06:50 AM   #1
Vadim777
Junior Member
Vadim777 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Apr 2012
Device: Sony PRS-T1
Help to compose a regex to find strings, enclosed in comments tags

Hi I have a problem: I want to use calibre to convert eBook I downloaded as a bunch of HTML pages to ePub format. And in the pages there are some comments, which I would like to remove.

The example text I want to remove is as follows:


I want to remove text enclosed in comments, including the comments themselfs.

Here is what I have tried but without success:




I have tried a few more, but also without success. I wonder why this is so because I can easily select a tag, but not a comment. Like this:


So could somebody help with this? I have also attached Html file. Thanks in anvance if somebody could help
Attached Files
File Type: rar Autocorrelation (58).rar (5.6 KB, 231 views)
Vadim777 is offline   Reply With Quote