I have a text file which has combination of lower/upper characters. I want to remove lines where any of a few specific lowercase letters are seen.
Text file contents:
Task - Remove all lines where any of the lowercase characters 'a','e','j','k' occurs.
I tried below option to get all lines where only upper case are found but its not working as expected.
grep -wo '[[:alnum:]]*A*E*J*K*[[:alnum:]]*' test.txt