```
string strRegexclass = @"^([0-9]+)\-([a-zA-Z])$";

```

I want to make regular expression which accept input like this (1-class). Any integer value before dash(-) and then must have dash then anything after dash.