Thread: Regex examples
View Single Post
Old 04-08-2012, 05:58 AM   #41
mmat1
Berti
mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.mmat1 ought to be getting tired of karma fortunes by now.
 
mmat1's Avatar
 
Posts: 1,196
Karma: 4985964
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
Quote:
Originally Posted by roger64 View Post
I sent the epub with one dropcap.
I've seen it, but meanwhile i tested this:

Code:
<p class="let">([A-Z])(\w{0,20}\s)((\w{0,20}\s){3})

<p class="let"><span class="let1 let2">\1</span><span class="smcpTypeV">\2\3</span>
It handles the first 4 words of an "let"-paragraph. (Perkins suggestion built in) Maybe you give it a try.
mmat1 is offline   Reply With Quote