Is there a way in Windows to get a matching string within a string?
echo hereisastring | find "is" and just display is
without using grep
The following worked using FIND. credit to Hello71
C:\>echo abcd | find "bc" >nul && if errorlevel 0 echo bc
bc
C:\>
