I have no idea what the question is.
The idea is in actual list to catch the duplicated words.
The grep to find duplicated words seems doesn't detect the same word when is upper/l case.
If I get any of the options (1, 2, 3) that is the answer.
Not very clear as explanations!
You have the actual list and you you'd like 3 regex that allows you to choose one the three other lists !
Change all words before into Upper or Lower Case before.
We can keep the upper/lower case but, as Eugene, I don't really understand what Camilo wants to obtain!
My list have duplicated words.
All I need is to mark/detect/ those duplicated words in any option.
If I get both (option 1) or options 2 or 3 after using grep it will be enough.
(And of course, cannot convert them to lower or uppercase because I will lost their difference that is the point here: same words but differentiated in the first letter)
Obi, we have only one list: the actual list.
I need to obtain from this list a result like option 1 or 2 or 3
GREP is a very precise language, for it to work we need a precise example.
Can you please give an exact use you are doing this for with a sample from your document, and what your desired result is.
Otherwise, there is no way anyone can really help.
Thanks a lot.
You surpassed the requirements because any option in columns 2 or 4 or 6 are fine answers.
Please, explain the steps because your thread does't show the path.
I hope it'll be clear. Maybe I complicate the issue but I do it quickly.
1/ I apply the condition "All" to the entire text.
2/ I apply a char style "Capitales", so that I can convert all in Lower case (see ID menu).
3/ First Regex [for Option 1] (I forgot the screenshot):
Rechercher : ^(.+\r)\1+
Remplacer par : (nothing)
Remplacer le format : select condition "Option 1"
4/ 2nd Regex [for Option 2]
4/ 3rd/4th/5th Regex [for Option 3 - in 3 steps]
5/ 6th Regex: I delete all the Text with condition "All".
6/ Now, we only have the Text with conditions Option 1/2 and 3 (see the colors).
7/ If you want, you can delete the 3 conditions:
I use a lot with Grep the possibilities Conditions offer us!!! More complex but more fun!
I am feeling guilty after this enormous work.
Thanks a lot.
… (in French!) C'était amusant à faire, moins à expliquer [l'énorme travail était là] !
Remember have read Schopenhauer said the police after pushing her concierge down the stairs for a claim:
Âne mort, charge morte!
(NIce you are 833.5 kms from here).
Thanks, Voldemort's bourreau!