10-21-2013, 09:21 PM | #46 |
Well trained by Cats
Posts: 29,807
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Whatever it takes for YOUR source.
Note I distrust using the 'tokenize' function in search. It can match way too much Post a complete Sample of the chapter Head block. (start at <Body>) Color what you want gone RED Color what you want on the first line Blue Color what you want on the second line Green It really is not (usually) difficult |
10-25-2013, 10:18 AM | #47 |
Zealot
Posts: 110
Karma: 972092
Join Date: Jan 2012
Device: iPhone
|
I just tried finding this (?i)<p([^>]+)>(.*?)Chapter(.*?)</p>
and replacing it with this: <h2\1>\2Chapter\3</h2> The screen changed to showing all the codes and when I did CTRL+T it didn't show the list of chapters. |
Advert | |
|
10-25-2013, 10:25 AM | #48 | |
Zealot
Posts: 110
Karma: 972092
Join Date: Jan 2012
Device: iPhone
|
Quote:
|
|
10-25-2013, 10:30 AM | #49 | |
Well trained by Cats
Posts: 29,807
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Did the TOC editor open on a different monitor? Try the entry on the tools menu, just in case the Keyboard shortcut is glitched |
|
10-25-2013, 10:33 AM | #50 | |
Well trained by Cats
Posts: 29,807
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
JUST DON'T click Replace(all) unless you are 100% satisfied with what you NOW see in the Search box |
|
Advert | |
|
10-25-2013, 10:34 AM | #51 | |
Zealot
Posts: 110
Karma: 972092
Join Date: Jan 2012
Device: iPhone
|
I just tried finding
Quote:
|
|
10-25-2013, 11:41 AM | #52 | |
Well trained by Cats
Posts: 29,807
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
If you selected text and clicked the search BUTTON (will copy that into the search box), then right click the tokenize selection, it should find at least ONE Note: You may need to reset the insert point above to find that instance did you set the search mode to REGEX? |
|
10-25-2013, 12:37 PM | #53 |
Guru
Posts: 655
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
|
|
10-25-2013, 12:44 PM | #54 | |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Code:
<p>Chapter 1</p> |
|
10-25-2013, 01:35 PM | #55 | |
Zealot
Posts: 110
Karma: 972092
Join Date: Jan 2012
Device: iPhone
|
Quote:
Select what text? What does tokenize supposed to do? How do you go into REGEX mode? |
|
10-25-2013, 01:55 PM | #56 |
Zealot
Posts: 110
Karma: 972092
Join Date: Jan 2012
Device: iPhone
|
What would be an example of a an attribute?
|
10-25-2013, 02:00 PM | #57 |
Well trained by Cats
Posts: 29,807
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
10-25-2013, 02:59 PM | #58 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
The time hath come for the questioner to take the time to learn some of this, instead of just asking us for solutions. If s/he doesn't know what an attribute is, giving him/her regex solutions just...it's the putting the horse two miles ahead of the carriage. Hitch |
|
10-25-2013, 09:50 PM | #59 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
Go to http://w3schools.com/
They have online tutorials about html and css and try it for yourself sections where you can change things and see how they work. A search for the word attribute gives you many uses of it and starts off with how to use in html. |
11-03-2013, 12:01 PM | #60 |
Zealot
Posts: 110
Karma: 972092
Join Date: Jan 2012
Device: iPhone
|
Should I learn HTML5 and CSS3 too?
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil 0.5.3: Remarks on search function | DrChiper | Sigil | 8 | 10-12-2012 01:43 PM |
Is it possible to turn off all automation in Sigil? | Iznogood | Sigil | 7 | 06-13-2012 04:05 AM |
Sigil Save As... | Fabe | Sigil | 5 | 01-20-2012 08:55 PM |
0.7.1 Save to Disc function fixed? | grizedale | Calibre | 9 | 06-07-2010 04:49 PM |
Save to Disk Function | Lady Fitzgerald | Calibre | 8 | 06-07-2010 10:06 AM |