icn*_*vad 2 regex powershell parsing
我有一个Textfile containsig
Random Text Test: abcd1234(/cxcd)
Run Code Online (Sandbox Code Playgroud)
如何在测试后提取随机值:使用正则表达式的Powershell我总是需要在"测试:"之后的8个字符
$text -match "Test: (.{8})"
你的比赛现在在 $matches[1]
http://powershell.com/cs/blogs/ebook/archive/2009/03/30/chapter-13-text-and-regular-expressions.aspx