Closed BrendanSimon closed 3 years ago
Can I filter on multiple patterns in a file?
I have a large syslog file and I want to be able to filter certain patterns (filter out noise except for the number of patterns I'm interested in).
With grep I would do something like:
cat mylog | grep "pat1\|pat2\|pat3"
How do I do the same with TPT?
You can use the Filter lines matching a regex (grep) command and enter pat1|pat2|pat3 or any other regular expression.
Filter lines matching a regex (grep)
pat1|pat2|pat3
ok thanks. I was trying pat1\|pat2\|pat3. Great :)
pat1\|pat2\|pat3
Can I filter on multiple patterns in a file?
I have a large syslog file and I want to be able to filter certain patterns (filter out noise except for the number of patterns I'm interested in).
With grep I would do something like:
How do I do the same with TPT?