Hi, @martin-huh and All,
Ah… OK ! So, here is the road map :
Open your huge file in Notepad++
Open the Mark dialog ( Ctrl + M )
SEARCH (?-i)(?<=ECB )\w+
Tick the three options Bookmark line, Purge for each search and Wrap around
Click on the Mark All button
=> The appropriate words, which follow the string ECB and a space char should be highlighted in red
Now, click on the Copy Marked Text button
Open a new tab ( Ctrl + N )
Paste the clipboard contents ( Ctrl + V )
Here you are ! You get the list of all these specific words
Now, if you prefer the list of all lines containing, at least, one of these key-words :
Right-click on the Bookmark margin and select the Copy Bookmarked Lines item ( or use the Search > Bookmark > Copy Bookmarked Lines option )
Again, open a new tab ( Ctrl + N )
Paste the clipboard contents ( Ctrl + V )
Notes :
The in-line modifier (?-i) forces the search to be sensitive to case ( non-ignore case ), whatever you’ve ticked, or not, the Match case option
The \w+ represents the non-null range of regex word characters to search for
The (?<=ECB ) is a look-behind structure, so a condition which must be true before the word to match but which is not part of the match ( Note the space char before the closing parenthesis )
So the overall regex can be expressed, in English language, as :
Match any word which is preceded by the string "ECB ", with that exact case
Best regards,
guy038