A string expression, defined by a developer, that governs what a user is allowed to enter in as input in a text box.