|
|
#1 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 283
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
|
Regex search and replace
Trying to find (and get rid of) all instances of this
Code:
<div class="mbp_pagebreak" id="calibre_pb_0"> I have no idea how regex search works or anything, I've just been following instructions I've been given before. What do I need to search to be finding this bit of code? |
|
|
|
|
|
#2 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,969
Karma: 65700000
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
What is the range (next to the Mode 'regex') you set?
All text files BTW I use a less wild term Code:
<div class="mbp_pagebreak" id="calibre_pb_\d+"> |
|
|
|
| Advert | |
|
|
|
|
#3 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,299
Karma: 8891824
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
The easy and fastest way is to use Diaps Editing Toolbag plugin for the editor.
bernie Quote:
|
|
|
|
|
![]() |
| Tags |
| regex |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Search and Replace with Regex | Wiggo | Library Management | 9 | 09-29-2024 07:51 AM |
| how to replace text with Search and Replace with regex on Calibre | darrnih | ePub | 2 | 04-02-2024 02:10 AM |
| Regex in search problems (NOT Search&Replace; the search bar) | lairdb | Calibre | 3 | 03-15-2017 07:10 PM |
| regex search/replace | Sharlene | Sigil | 10 | 01-28-2012 04:14 AM |
| need regex help search and replace | schuster | Calibre | 4 | 01-10-2011 09:00 AM |