これを抽出しようとしています(「5013a27a-3e44d69d-4120-080027a10080」は異なります)
/vmfs/volumes/5013a27a-3e44d69d-4120-080027a10080
これから(これは文字列です):
name datastore1
url /vmfs/volumes/5013a27a-3e44d69d-4120-080027a10080
capacity 123480309760
freeSpace 96355745792
accessible 1
type VMFS
multipleHostAccess <unset>
だから私は次のことをしましたが、それは機能していません:
Regex regex = new Regex(@"[/][A-Za-z0-9/-][/] [ ]");
MatchCollection match = regex.Matches(input);
どこが間違っているのですか?