Write a GREP command that would list lines from the "text.txt" file that have character 3, 5, or 7 as a second character and do not end with the comma character.
1 answer
grep -E '^.[357][^,]*$' text.txt
1 answer