Thread: Regex examples
View Single Post
Old 08-08-2014, 12:12 PM   #375
mzmm
Groupie
mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.
 
mzmm's Avatar
 
Posts: 171
Karma: 86271
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
Quote:
Originally Posted by eschwartz View Post
...
Code:
(?![.!?])(?=[ ])([A-Z])[a-z]+
is that working for you in sigil? my PCRE editor doesn't match

i'd probably use something like

find
Code:
(?<![.!?])( [A-Z])(?=[a-z])
replace
Code:
\U\1\E
Quote:
Originally Posted by Leonatus View Post
I want to replace by lower case characters some words that have been written, following the older german grammar, beginning with upper case letters, even when they are in the middle of a sentence, such as "Du", "Dich", "Ihr", "Euch".

...
but yes, some examples of exactly want to match would help, it's a little unclear

Last edited by mzmm; 08-08-2014 at 12:18 PM.
mzmm is offline   Reply With Quote