Regex regex = new Regex(@"\d+\[B|D|BD|W|M|MB|Y]+\d?\[B|D|BD|W|M|MB|Y]?$");Boolean ismatch = regex.IsMatch(textBox1.Text);if (!ismatch){MessageBox.Show("숫자,B,D,BD,D,W,M,MB,Y 만 입력해 주세요.");textBox1.Text = "";textBox1.Focus();}
Araxis_merge(2).zip 2.76MB
RECENT COMMENT