●正規表現の使用環境 .NET Framework 3.5 ●検索か置換か? 置き換え ●説明 ()の文字を取り除きたい ●対象データ W(ジョーカー) W(ルナ) ●希望する結果 W W
string Title = "W(ジョーカー)"; string nobrackets = "<title>(.*)"; Regex re = new Regex(nobrackets); Match m = re.Match(Title); Title = m.Groups["title"].Value;