Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/batch-file/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Regex FINDSTR查找空间_Regex_Batch File_Findstr - Fatal编程技术网

Regex FINDSTR查找空间

Regex FINDSTR查找空间,regex,batch-file,findstr,Regex,Batch File,Findstr,我无法找到标签/元素打开后和关闭前出现的空间。我使用下面的行来获取HTML元素 findstr /N /O /R /C /S "<p[^>]*>" *.html >> tag.log findstr /N /O /R /C /S "</p[^>]*>" *.html >> tag.log 我想在打开和关闭元素/标记后立即查找包含空间的元素 请帮帮我 我正在使用Windows7 提前谢谢 findstr /N /O /R

我无法找到标签/元素打开后和关闭前出现的空间。我使用下面的行来获取HTML元素

findstr /N /O /R /C /S "<p[^>]*>" *.html >> tag.log    
findstr /N /O /R /C /S "</p[^>]*>" *.html >> tag.log    
我想在打开和关闭元素/标记后立即查找包含空间的元素

请帮帮我

我正在使用Windows7

提前谢谢

findstr /N /O /R /S /c:"<p[^>]*> " /c:"</p[^>]*> " *.html > tag.log
您需要使用/c:..属性指示搜索字符串。。。。切换并在引用表达式中包含空格