View Single Post
Old 01-24-2020, 04:41 PM   #1
greenskye
Member
greenskye began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Feb 2010
Device: none
Freeze on search/replace regex

Trying to remove Author's Notes from the end of chapters using this regex:

\<p class\=\"calibre3\"\>*\<\/p\> \<hr class\=\"calibre1\"\/\>[\s\S]*(?=\<\/body\>)

I'm leaving the replace field blank as I just want to erase this content. "Find" successfully selects the text I want. When I press "replace" the editor window freezes and must be force closed. Not sure what is happening. It seems like valid regex to me.
greenskye is offline   Reply With Quote