regex – How to write a search pattern to include a space in findstr? – Stack Overflow
Posted by jpluimers on 2019/12/13
TL;DR:
- If you use regular expressions (
/R) withFINDSTR, then pass them as/C:"regular-expression-string" - If you forget the
/C:the string will be used as a normal search string - If you forget the
:after the/Cyou will get an informal error, but the search will continue giving you wrong results
Details in [WayBack] regex – How to write a search pattern to include a space in findstr? – Stack Overflow
–jeroen






Leave a comment