Validating a file with regular expressions
The user will be notified though inline error message of invalid input data before submitting a form.If you are new here, it would help if you can get a basic understanding of Regular Expressions. Net Question Answer site, specially started to allow visitors of this site ask their doubts and queries. Just click the Ask Now button and ask your question now.In this tutorial you will see how to use regular expressions to validate.
These will however not work with non-English accented characters like Düsseldorf or Köln.
This highly practical book contains hundreds of tested recipes for developing interactive Rich Internet Applications.
Here expand any input field and put the data validation rule under the Regex Pattern field. The regex [a-z A-Z0-9] will match any set of alpha numeric characters that are between 5 to 10 characters in length.
For exact matches, you can enclose the regular expression in the caret (^) and dollar sign ($) markers.
[0-9][A-Z]$/i The i at the end of the pattern is to indicate that this is a case insensitive match.