I want to return logs with line
Process1A
Process2A
Process3A
The log file can have process 1A
to 1000A
or 1B
to 1000B and
so on but I only want to see process 1A
to 3A
. I dont want to include ProcessA
(without 1, 2 or 3 in it) only in my result set.
The log line has lots of information so character "A" can exist elsewhere in the line. I want to check the string specifically in the examples I listed above.
So something like this:
grep Process[1 or 2 or 3]A.*Result=Running scrape.log
but I dont know how to specify [1 or 2 or 3]
with regexps.