View Single Post
Old 10-21-2013, 04:47 PM   #7
Hoods7070
Groupie
Hoods7070 can name that song in three notesHoods7070 can name that song in three notesHoods7070 can name that song in three notesHoods7070 can name that song in three notesHoods7070 can name that song in three notesHoods7070 can name that song in three notesHoods7070 can name that song in three notesHoods7070 can name that song in three notesHoods7070 can name that song in three notesHoods7070 can name that song in three notesHoods7070 can name that song in three notes
 
Posts: 159
Karma: 24430
Join Date: Mar 2012
Location: Australia
Device: Nexus 7"
FWIW, to capitalize the first word in a sentence (using Sigil) is quite straightforward. For the example below, I would have defined CSS classes "indentoff" (whatever) for the first sentence following a scene break, and "caps" to transform a string to capital letters. So:

Find:
<p class="indentoff">(.*?)[space]

will find the first text string after "indentoff" followed by a space. Note: [space] here represents a typed space; it is not part of the Regex!

Replace:
<p class="indentoff"><span class="caps">\1</span>[space]
Hoods7070 is offline   Reply With Quote