I have this 2 lines:
litere bebe litere oana stilou mancare acasa carte litere
litere bebe oana stilou mancare acasa carte litere
The word litere
is repeated 3 times in the first line, and the same word is repeated 2 times in the second line. Also, the word stilou
is present in both lines.
So, I want to find all lines that contain two identical words (litere
), but delete up to the second word stilou
litere
)", does "two" mean "exactly two occurrences" or "at least two occurrences"? If ` stilou` was added at the very end of the second line, should "up to the second wordstilou
" refer to the first or to the second occurrence ofstilou
?litere
and one occurence of wordstilou
.