View Single Post
Old 01-30-2014, 08:48 AM   #24
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,802
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:
Originally Posted by Doitsu View Post
That's fairly easy to accomplish:

Find:<span class="calibre9">(.*?)</span>
Replace:<span class="calibre9">\U\1\E</span>

For more information on converting to and from upper case characters see this older post of mine.

However, if you start out with upper case text, you'll probably also need to convert the text to lower case. Otherwise you'll get all caps text.

.calibre9 { text-transform: lowercase; font-variant: small-caps; }

@theducks: You'll need to add \E at the end; otherwise the final </span> will also be capitalized.
Thanks. Fixing my saved search NOW
theducks is offline   Reply With Quote