|
|
#211 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,079
Karma: 2677223
Join Date: Dec 2010
Device: Kindle 3
|
Quote:
Find: ([[:alpha:],”*])</p>\s*<p\b[^>]*> Replace: \1 Note that there needs to be a space after \1. |
|
|
|
|
|
|
#212 |
|
Member
![]() Posts: 13
Karma: 10
Join Date: Mar 2011
Location: Colorado
Device: Cruz Tablet
|
I scanned through this thread and did not see a solution for this, but I am tryhing to find words in all capitals in my epub. For example: <p class="calibre1">I drove under a sign that said THE MAGNOLIA RANCH.</p> Is there a Regex for finding words with more than one letter in all caps?
|
|
|
|
|
Enthusiast
|
|
|
|
#213 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,079
Karma: 2677223
Join Date: Dec 2010
Device: Kindle 3
|
|
|
|
|
|
|
#214 |
|
Member
![]() Posts: 13
Karma: 10
Join Date: Mar 2011
Location: Colorado
Device: Cruz Tablet
|
|
|
|
|
|
|
#215 |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,690
Karma: 2485828
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
aren't the outer brackets supposed to be curved?
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
#216 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,079
Karma: 2677223
Join Date: Dec 2010
Device: Kindle 3
|
It works fine with my Sigil 7.1. version. Are you sure that you've selected the regex mode?
If all else fails, you could simply buy the book. ![]() No, [[:upper:]] is a POSIX character class and the two curly brackets after it specify 2 or more occurrences. Of course, you'll also need to add two additional curved brackets around the Regex to define the backreference. |
|
|
|
|
|
#217 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 627
Karma: 1901287
Join Date: Mar 2009
Location: Rosario, Argentina
Device: SONY PRS-505, PRS-T2
|
__________________
My Quick and Dirty ePub Tutorial (version 3 covering Sigil 0.7.1 now available, in pdf and ePub format) Bridging the gap between BookDesigner and Sigil: Try HTML02HTML |
|
|
|
|
|
#218 |
|
Member
![]() Posts: 13
Karma: 10
Join Date: Mar 2011
Location: Colorado
Device: Cruz Tablet
|
Thank You
I ended up using a combination of both suggestions: [A-Z]{2,}
Thanks so much.
Last edited by ReaderRabbit; 03-20-2013 at 07:38 PM. |
|
|
|
![]() |
| 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 |