findstr

2024/5/7 23:09:22

批处理FINDSTR正则表达式用法实例分析

1.findstr . 2.txt 或 Findstr "." 2.txt 从文件2.txt中查找任意字符,不包括空字符或空行 2.findstr .* 2.txt 或 findstr ".*" 2.txt 从文件2.txt中查找任意字符包括空行和空字符 3.findstr "[0-9]" 2.txt 从文件2.txt中查找包括数字…