|
|
#196 |
|
Member
![]() Posts: 13
Karma: 10
Join Date: Mar 2011
Location: Colorado
Device: Cruz Tablet
|
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 |
|
|
|
|
|
#197 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,090
Karma: 2701341
Join Date: Dec 2010
Device: Kindle 3
|
Quote:
Code:
\d+</p>\s+<p class=".*?">
|
|
|
|
|
|
Enthusiast
|
|
|
|
#198 | |
|
Connoisseur
![]() ![]() Posts: 94
Karma: 126
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. |
|
|
|
|
|
|
#199 | |
|
Member
![]() Posts: 13
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 |
|
|
|
|
|
|
#200 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,090
Karma: 2701341
Join Date: Dec 2010
Device: Kindle 3
|
|
|
|
|
|
|
#201 | |
|
350 Hoarder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,541
Karma: 1931571
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350: 4 Silver, 2 Blue!; Kobo Glo
|
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. |
|
|
|
|
|
|
#202 |
|
Member
![]() Posts: 13
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 |
|
|
|
|
|
#203 |
|
Member
![]() Posts: 13
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> |
|
|
|
|
|
#204 |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,729
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Just watch out if your chapters are also a digits only and NOT coded to a h#.
fix those first, then clean
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
#205 |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,729
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Use the Saved search: Join Paragraphs (included by default )
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
#206 |
|
Member
![]() Posts: 13
Karma: 10
Join Date: Mar 2011
Location: Colorado
Device: Cruz Tablet
|
|
|
|
|
|
|
#207 |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,729
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Got it (The why): Comma Quote not quote comma (I think that nees to be fixed, then it would work
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
#208 | |
|
Connoisseur
![]() ![]() Posts: 94
Karma: 126
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
|
Quote:
Code:
(<p[^>]*>)(?:\s+)?([^“”]+?”)(.*?)(?:\s+)?(</p>) \1“\2\3\4 |
|
|
|
|
|
|
#209 |
|
350 Hoarder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,541
Karma: 1931571
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350: 4 Silver, 2 Blue!; Kobo Glo
|
|
|
|
|
|
|
#210 |
|
Member
![]() Posts: 13
Karma: 10
Join Date: Mar 2011
Location: Colorado
Device: Cruz Tablet
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
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 |