For example, there is a string: "1, 12, string, 12" - how to catch the word "string", and make sure that the user does not enter numbers or other words, signs, except 1-12, and ",".
And where can I insert an alert to notify the user that he has not correctly entered data, for example a word?