私の入力テキストは次のとおりです。
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</string>
上記の入力から数値を抽出するために使用する正規表現パターンは何ですか?
var pattern = "<string ?>?</string>"; // how to write this?
var match = Regex.Match(input, pattern, RegexOptions.IgnoreCase);
ありがとう、