in reply to how to search 3 different patterns from a file
Anyway, it would look to me that if you just filter out the lines that contain / Note;/, you're almost home. In fact, you seem to want everything from "Note;" till the end of line. You can try this:
local $\ = "\n"; while(<>) { if(/ (Note;.*)/) { print $1; } }
You can put this in a script on its own, pass the path of the log file as a parameter, and see what you get — both in speed, and in filter results.
|
|---|