query: In Python, is there a way to validate a user input in a certain format?
positive_passages.docid: 2937
positive_passages.text: Asking the user for input until they give a valid response
negative_passages.docid: 63425
negative_passages.text: How to show a required message next to input with Javascript?
negative_passages.docid: 63332
negative_passages.text: How can one represent a string pattern with prohibited substrings?
negative_passages.docid: 110451
negative_passages.text: How to check if a string is numeric?
negative_passages.docid: 5512
negative_passages.text: How do I do a case-insensitive string comparison?
negative_passages.docid: 96990
negative_passages.text: python: If an entry is not an acceptable parameter for a prompt, how to re-ask
negative_passages.docid: 78771
negative_passages.text: How do I do simple user input in python?
negative_passages.docid: 118004
negative_passages.text: How to use Scanner to accept only valid int as input
negative_passages.docid: 46586
negative_passages.text: Is it possible to retrieve a previous un-evaluated, un-normalized input?
negative_passages.docid: 47682
negative_passages.text: How to validate input using scanf
negative_passages.docid: 94082
negative_passages.text: Is it possible to pad integers with zeros using regular expressions?
negative_passages.docid: 120682
negative_passages.text: How do I verify that a string only contains letters, numbers, underscores and dashes?
negative_passages.docid: 77399
negative_passages.text: What is the best way to do input validation in C++ with cin?
negative_passages.docid: 84411
negative_passages.text: How to prevent invalid characters from being typed into input fields
negative_passages.docid: 2747
negative_passages.text: How can I get Google Sheets to treat my form-submitted strings as plain text and preserve leading zeros?
negative_passages.docid: 35850
negative_passages.text: Using regular expressions to validate a numeric range
negative_passages.docid: 62437
negative_passages.text: How do I safely "eval" user code in a webpage?