View Single Post
Old 12-01-2011, 08:38 PM   #10
ElMiko
Fanatic
ElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileRead
 
ElMiko's Avatar
 
Posts: 507
Karma: 65460
Join Date: Jun 2011
Device: Kindle
Quote:
Originally Posted by Serpentine View Post
Yeah, I just tested it - works correctly for me.

If you can give the pattern and perhaps a sample+expectation, I'll have a look.
I want to:
Spoiler:

turn this (and all similar instances):

but</p>

<p class="calibre2"></p>

<p class="calibre2">The Gh oul G al l ery</p>

<p class="calibre2">the lights


into this (or its formatting equivalent):
but the lights


the search/replace i do is:

Spoiler:

SEARCH:
</p>[\s]+<p class="calibre2"></p>[\s]+<p class="calibre2">T((| )h(| )e(| )G(| )h(| )o(| )u(| )l(| )G(| )a(| )l(| )l(| )e(| )r(| ))y</p>[\s]+<p class="calibre2">([a-z])

REPLACE:
\2 -----> (there's a "space" before the backslash)


And what I keep getting is:
Spoiler:
but he lights ------> Note the lost "t"

Last edited by ElMiko; 12-01-2011 at 08:43 PM.
ElMiko is offline   Reply With Quote