C#,ソフトウェア開発

正規表現のテストに便利なサイト

IsMatch

string strTarget = @"本日は閉店なり";

if(Regex.IsMatch(strTarget, @"(.+?)は(.+?)なり$"))
{
    Console.WriteLine("IsMatch : Match!!");
}

IsMatch : Match!!