rails où regex
@max_draw = Drawing.where("drawing_number ~* ?", '^A\d{4}$')
Puzzled Peacock
@max_draw = Drawing.where("drawing_number ~* ?", '^A\d{4}$')