摘要:
Regex regex = new Regex(@"(?<=\()[^()]+(?=\))"); string forContent=@"((DS_NE_CELL_G.BTS_NAME)-(DS_PRD_A_CELL_H.FREECOUNT))/((DS_NE_CELL_G.BTS_NAME)+(DS_PRD_A_CELL_H.FREECOUNT)) >2"; MatchCollection mm = regex.Matches(forContent); int k = 1; foreach (Match m in mm) { ... 阅读全文