03-05-2013, 11:09 AM | #196 |
Member
Posts: 24
Karma: 10
Join Date: Mar 2011
Location: Colorado
Device: Cruz Tablet
|
Sorry, this is such an obvious question and is probably answered somewhere but I didn't find it.
What would be the best way to find and eliminate page numbers such as: He glanced 190</p> <p class="calibre1">up at the big clock |
03-05-2013, 11:29 AM | #197 | |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Code:
\d+</p>\s+<p class=".*?">
|
|
Advert | |
|
03-05-2013, 11:30 AM | #198 | |
Groupie
Posts: 171
Karma: 86271
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
|
Quote:
Code:
find: (<p[^>]*>)(?:\s+)?([^“]+?”)(?:\s+)?(</p>) replace: \1“\2\3 Last edited by mzmm; 03-05-2013 at 11:38 AM. |
|
03-05-2013, 11:59 AM | #199 | |
Member
Posts: 24
Karma: 10
Join Date: Mar 2011
Location: Colorado
Device: Cruz Tablet
|
Quote:
What about page numbers like this: <p class="calibre1">200</p> I used to be able to find them with the 'Wildcard' search and replace. I am using version version 0.6.2 of Sigil. Where has that feature gone? I ♥ brainiacs |
|
03-05-2013, 12:18 PM | #200 |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
|
Advert | |
|
03-05-2013, 02:02 PM | #201 | |
350 Hoarder
Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
|
Quote:
“But how would you deal with these miseries out of the past?” I asked. Even if there were 2 regex strings to run to be able to pick up both sentence structures would still be much better than just hoping you find them all in proofing. |
|
03-05-2013, 02:23 PM | #202 |
Member
Posts: 24
Karma: 10
Join Date: Mar 2011
Location: Colorado
Device: Cruz Tablet
|
This is the same command, right? I did not see a difference but it works.
Has anyone compiled a list of basic commands, such as finding book numbers? I checked: 'Useful RegEx commandos for ebook corrections' suggested earlier in this thread but did not find anything I could use. Thanks again |
03-05-2013, 04:30 PM | #203 |
Member
Posts: 24
Karma: 10
Join Date: Mar 2011
Location: Colorado
Device: Cruz Tablet
|
Is there a command to fix this type of error?
<p class="calibre1">“That makes her sound like an ungrateful victim,”</p> <p class="calibre1">Peggy said.</p> |
03-05-2013, 06:32 PM | #204 |
Well trained by Cats
Posts: 29,791
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
03-05-2013, 06:36 PM | #205 |
Well trained by Cats
Posts: 29,791
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
03-05-2013, 06:53 PM | #206 |
Member
Posts: 24
Karma: 10
Join Date: Mar 2011
Location: Colorado
Device: Cruz Tablet
|
|
03-05-2013, 07:04 PM | #207 |
Well trained by Cats
Posts: 29,791
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
03-06-2013, 05:20 AM | #208 | |
Groupie
Posts: 171
Karma: 86271
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
|
Quote:
Code:
(<p[^>]*>)(?:\s+)?([^“”]+?”)(.*?)(?:\s+)?(</p>) \1“\2\3\4 |
|
03-06-2013, 06:54 AM | #209 |
350 Hoarder
Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
|
|
03-06-2013, 10:57 AM | #210 |
Member
Posts: 24
Karma: 10
Join Date: Mar 2011
Location: Colorado
Device: Cruz Tablet
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Examples of Subgroups | emonti8384 | Lounge | 32 | 02-26-2011 06:00 PM |
Accessories Pen examples | Gunnerp245 | enTourage Archive | 15 | 02-21-2011 03:23 PM |
Stylesheet examples? | Skitzman69 | Sigil | 15 | 09-24-2010 08:24 PM |
Examples | kafkaesque1978 | iRiver Story | 1 | 07-26-2010 03:49 PM |
Looking for examples of typos in eBooks | Tonycole | General Discussions | 1 | 05-05-2010 04:23 AM |