<td><span class="AnnRed">(?<msg>.*)</span></td>
<td><span class="AnnYellow">(?<msg>.*)</span></td>
Regex regex = new Regex("<td><span class=\"[AnnYellow]|[AnnRed]\">(?<msg>.*)</span></td>");
怎么写让这个表达试能匹配上面两种结果
就是说 Regex regex = new Regex<td><span class="AnnRed">(?<msg>.*)</span></td>");
Regex regex = new Regex<td><span class="AnnYellow">(?<msg>.*)</span></td>");
这两种都要取到`