Thread: Regex examples
View Single Post
Old 11-18-2014, 12:07 PM   #434
Buchstabensalat
Member
Buchstabensalat can read with one handBuchstabensalat can read with one handBuchstabensalat can read with one handBuchstabensalat can read with one handBuchstabensalat can read with one handBuchstabensalat can read with one handBuchstabensalat can read with one handBuchstabensalat can read with one handBuchstabensalat can read with one handBuchstabensalat can read with one handBuchstabensalat can read with one hand
 
Posts: 12
Karma: 79192
Join Date: Nov 2014
Device: Kindle
Quote:
Originally Posted by Doitsu View Post
Find:([[:alpha:]]+)
Replace:\L\1\E



Find:([[:upper:]])([[:alpha:]]+)
Replace:\1\L\2\E

Note that these expressions will also find some non-mixed case words and won't work with accented characters and umlauts.

You can find more examples here.
Hi,

Thank you.

Using Sigil`s search (regex mode) your first string finds every single word in the text, the second string matches every uppercase word in my text and not only those that meet my search criteria ( uppercase letter(s) within a word). Is there a possiblity to match only those words with upercase letters in the word ?

Thanks again

Regards,

Buchstabensalat
Buchstabensalat is offline   Reply With Quote