I need to specify a regular expression that includes |
character to findstr
command:
processtext.exe | findstr /R "Hello|Bye"
How do I escape it? \|
does not work. Quotes fix issue with pipelining but the regex does not match although separate searches for "Hello" and "Bye" do. I'm interested in a solution for legacy shell, not powershell.
|
pipe character...