Copy link to clipboard
Copied
Hi, I would like to ask for some help with GREP by which I can find uppercased words in paragraph start.
There is always more than one character. Probably more than one word. Number of uppercased words is changing. Uppercased words are not ending with some character as .,:;. Words are always on the beginning. Avoid finding uppercased words in the middle of paragraph. There is case that it is point dot . in between those characters, so it should be more than one sentence.
I need to find this example. And I would like to apply style change by GREP inside paragraph style.
By research I found on Jetsetcom this: \<[\u]{2,}\> or >\<\u\u+\> but I dont know how to connect it to paragraph beginning.
Thanks in advance.
Copy link to clipboard
Copied
but I dont know how to connect it to paragraph beginning
add this at the beginning of your query: ^
See screenshot of my French version
Copy link to clipboard
Copied
As jmlevy mentioned, ^ is the beginning of the paragraph. To find multiple capitalised words that could be in two or more sentences, use ^\u\u[\u\h.]+
In other words, two uppre-case letters at the start of the paragraph followed by any number of upper-caseletters, spces (\h) and dots.
P.
Copy link to clipboard
Copied
Thanks a lot, this works well good!