Add a KeyPress event handler on the TextBox.
Then put in this code into the textbox. This will allow only alphabets or /.
private void textBox_KeyPress(object sender, KeyPressEventArgs e)
{
if (!Regex.IsMatch(textbox.Text, @"[a-zA-Z/]"))
{
e.Handled = true;
}
}