![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jul 2011
Device: Kindle
|
can't get Search & Replace to remove my header
I've tried reading what I can on RegEx and tried figuring this out by myself but I'm afraid I have no idea about coding and cannot get the chunk to remove more than one line. I'm depended on the kindness of strangers for this one.
the chunk I want to remove is Code:
http://content.cdlib.org/xtf/view?docId=ft1s20046f&chunk.id=0&doc.view=print<br> 7/20/2006<br> <hr> <A name=179></a>Haiti, History, and the Gods<br> Page 179 of 250<br> thx |
![]() |
![]() |
![]() |
#2 |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
\d+ for the numbers. Use \s* for new lines. try that.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | ||
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jul 2011
Device: Kindle
|
Thank you, that took care of it.
For anyone else with a similar query, the resulting code looked like this: Quote:
Quote:
|
||
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Search & Replace/Regex help!! | millertime13 | Conversion | 4 | 07-22-2011 02:40 AM |
Search & Replace Suggestion | Philosopher | Calibre | 6 | 12-31-2010 11:55 AM |
Search & Replace | Pat Nickholds | Sigil | 2 | 10-21-2010 11:18 PM |
Search and Replace or remove Metadata | jazzcat007 | Calibre | 5 | 05-21-2010 11:35 AM |
Search & replace TEXT | ToeRag | Calibre | 3 | 04-10-2010 01:44 PM |