View Single Post
Old 09-22-2018, 05:22 AM   #1
Vortex
Groupie
Vortex began at the beginning.
 
Vortex's Avatar
 
Posts: 171
Karma: 10
Join Date: Dec 2008
Device: Likebook Mars
Question about regex and html comments

I have a lot of books that have the subtitle prepended to the book Comments. I've been trying to write a regex to extract them. They all start with a colon and end with a newline followed by a blank line.

I've tried all sorts of different ways, some work in the test view but not in reality, some work on some of the books but not others, most don't work at all. Is there some trick to doing this? Example:

Code:
: Subtitle info

Html comments start here...
Vortex is offline   Reply With Quote