Thread: Regex examples
View Single Post
Old 04-08-2012, 05:58 AM   #41
mmat1
Det
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: 909
Karma: 936586
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