$strPattern="\t"
$regex=[regex]$strPattern
$text=${c:\hello\text.txt}
$mc=$regex.Matches($text)
$mc.Count
原文链接:https://www.f2er.com/regex/360415.html$strPattern="\t"
$regex=[regex]$strPattern
$text=${c:\hello\text.txt}
$mc=$regex.Matches($text)
$mc.Count
原文链接:https://www.f2er.com/regex/360415.html