number and character pattern