Drag and drop onto the edit box control to add pattern-matching rule validation.
Assign rule validation to the edit box control to validate user input.