2012-12-18 70 views

回答

0

沒有指定正是您期望作爲輸出。我只能看到,在連接userId之前沒有正確終止第一個字符串。請嘗試以下操作:嘗試以下操作:

string userId = "ololoawd"; 
string did = Regex.Match(content, @"""dID"":""(.*?)"",""dOF"":true,""dOID"":""" + userId + @""",""usS"":").Groups[1].Value; 
0
string did = Regex.Match(content, @"""dID"":""(.*?)"",""dOF"":true,""dOID"":" + userId + ",""usS"":").Groups[1].Value; 
相關問題