2015-06-15 51 views
1

對於powershell v3,我需要查找範圍爲Test100Test200的項。正則表達式測試100-200

例如它應該這樣工作;

Test001 - not valid 
Test099 - not valid 
Test100 - valid 
Test150 - valid 
Test200 - valid 
Test201 - not valid 

我試過-match (Test[100,200])但這不起作用。 我該怎麼做?

回答