How can I write a regex expression with OR in a package. I have a file and I want to find "aa" or "bb". The file contains the following lines:
aa
bb
cc
This is the command I tried:
findstr /I /R /C:"aa\|bb" temp.txt
and
findstr /I /R /C:"aa|bb" temp.txt
Can someone help me with OR syntax in batch mode for writing regular expressions.
Thank.
source
share