Email validating regular expression

JSON Schema (application/schema json) has several purposes, one of which is JSON instance validation.

This document specifies a vocabulary for JSON Schema to describe the meaning of JSON documents, provide hints for user interfaces working with JSON data, and to make assertions about what a valid document must look like. To provide feedback, use this issue tracker, the communication methods listed on the homepage, or email the document editors.

Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.

JSON Schema can be used to require that a given JSON document (an instance) satisfies a certain number of criteria.

You can find many pre-made expressions out there, which can be very useful to you.

Here is an example where we require a 4 digit number - nothing else is acceptable: The only new attribute we use, is the validationexpression.

This input type lets you collect a number (either integer or floating point). The exact value is not displayed to the user unless you use Java Script.

Example posted by KC: A set containing both angle brackets: metacharacter)?This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.Internet-Drafts are working documents of the Internet Engineering Task Force (IETF).Our "validate email address" tool is 100% free, superbly fast and very accurate and reliable. HTML5 defines a variety of new input types: sliders, number spinners, popup calendars, color choosers, autocompleting suggest boxes, and more.However, Regular Expression Validator is one of the most useful validators, because it can be used to check the validity of any kind of string.

You must have an account to comment. Please register or login here!