Quantcast
Channel: MobileRead Forums
Viewing all articles
Browse latest Browse all 46939

RegEx or RE Function to apply [Change Case] Capitialize?

$
0
0
Is there a RegEx or RegEx Function that will apply [Change Case] Capitialize to the upper case words at the beginning of a paragraph, which is usually in the first paragraph of each chapter?

It's purely personal opinion but in my Kindle I find the 'paper book' typographic style disconcerting and if there were a easy way to change it'd save a lot of manual work.

I'd like to change the first <p> to the second <p>. It's not 100% since there could be proper names or acronyms in the UPPER CASE TEXT, but I can clean them up manually


Code:

<body>

<p>ALLCAPS ALLCAPS ALLCAPS lower case  lower case  lower case  lower case  lower case </p>

<p>Allcaps allcaps allcaps lower case  lower case  lower case  lower case  lower case </p>

</body>


Thanks

Viewing all articles
Browse latest Browse all 46939

Trending Articles