正则表达式问题
怎样构造match表达式
string input = "人民";
string match = "人民币,数字"
try
{
Match m = Regex.Match(input, match, RegexOptions.IgnoreCase);
if (m.Success)
{
MessageBox.Show("验证通过!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
catch (Exception ex)
{
MessageBox.Show("info"+ex.ToString(),"提示",MessageBoxButtons.OK,MessageBoxIcon.Error);
return;
}