Helly everyone,
I am struggling to find out how to exclude a word in a line of text in notepad++
I am using the "find in files" option to search through many large log files.
My search string is as follows:
"Searching for user with username '.*' and domain name"
(This will show all usernames where '.*' is the username part. So the result is all names are shown which is great.
However there is a certain username that I want ignored in the output for example UsernameX1
I do not want to be shown in the output
so output"
I want lines like these to be ignored with word "usernameX1
" and only show other usernames whilst ignoring usernamex1
So in the output I want this line below to be ignored
"Searching for user with username 'usernameX1' and domain name "
and only lines like these to show:
"Searching for user with username 'usernameA1' and domain name "
"Searching for user with username 'Chrisv' and domain name "
"Searching for user with username 'brianz' and domain name "
etc.
Is there a tool, method or plugin I can use that helps me sort this out?
username
or not? It's not clear.