Check Constraint looks like the appropriate tool for this job.

Code:
alter YOURTABLE
add CONSTRAINT check_YOURCOLUMN
   CHECK (YOURCOLUMN IN ('0', '1', '2', ... '#'));