Category - Regular Expressions
Results 1 - 5 of 60
05 Jul 2019 08 Jul 2019 0 Comments  761 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Email Address validation inside Controller in AngularJS.

This article will illustrate how to use AngularJS Form Validation for TextBox and ng-pattern directive and Regular Expressions (Regex) for validating Email Address in AngularJS.

The Regular Expression for Email validation will be set inside Controller in AngularJS.
02 Jul 2019 02 Jul 2019 1 Comments  588 Views
Here Mudassar Ahmed Khan has explained a simple tutorial with an example, how to use the ng-pattern directive in AngularJS.

The ng-pattern directive is used to validate the user input for the invalid characters with the help of Regular Expression patterns in AngularJS.
02 Jul 2019 08 Jul 2019 2 Comments  790 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Email Address validation in AngularJS.

This article will illustrate how to use AngularJS Form Validation for TextBox and ng-pattern directive and Regular Expressions (Regex) for validating Email Address in AngularJS.
07 Feb 2019 18 Feb 2019 0 Comments  2936 Views
Here Mudassar Ahmed Khan has explained with an example, how to allow only AlphaNumeric (Letters or Numbers), Underscore in Username and it must have length of 3 to 10 characters using JavaScript.

When the Submit Button is clicked, the Username in the TextBox will be validated using JavaScript and Regular Expression (Regex) and if the Username is invalid, the error message will be displayed next to the TextBox using JavaScript.
01 Feb 2019 01 Feb 2019 0 Comments  9412 Views
Here Mudassar Ahmed Khan has explained with an example, how to restrict user from entering Special Characters in TextBox using AngularJS.

This article will illustrate how to perform AlphaNumeric validation for TextBox i.e. allow only Alphabets and Numbers in TextBox using AngularJS.

The AlphaNumeric validation will be performed with the help of ngPatternRestrict module which uses Regular Expressions for restricting characters in TextBox in AngularJS.
Results 1 - 5 of 60