View Single Post
Old 05-14-2017, 07:36 AM   #2
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,756
Karma: 24032915
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by roger64 View Post
I would like to go from
Code:
<span class="smcpIncise">SMITH</span>
to
Code:
<span class="smcpIncise">Smith</span>
That's relatively easy with Sigil.

In Regex mode, search for:

Code:
<span class="smcpIncise">([[:upper:]])([[:upper:]]{2,})</span>
and replace with:

Code:
<span class="smcpIncise">\1\L\2\E</span>
For more examples see this very old post.
Doitsu is offline   Reply With Quote