Category - Regular Expressions
Results 81 - 100 of 136
01 Feb 2019 01 Feb 2019 0 Comments  32142 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.
01 Feb 2019 01 Feb 2019 0 Comments  59523 Views
Here Mudassar Ahmed Khan has explained with an example, how to restrict user from entering Special Characters in TextBox using jQuery.

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

When User types in the TextBox, the text in the TextBox will be validated using OnKeyPress event handler in jQuery and if the inputted character is not AlphaNumeric i.e. Alphabet or Number, the error message will be displayed next to the TextBox.
30 Jan 2019 30 Jan 2019 0 Comments  21534 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Alphabet validation i.e. allow only Letters (A-Z) using OnKeyPress event in jQuery.

When User types in the TextBox, the text in the TextBox will be validated using OnKeyPress event handler in jQuery and if the inputted character is not Alphabet i.e. Letters (A-Z), the error message will be displayed next to the TextBox.
30 Jan 2019 30 Jan 2019 0 Comments  20167 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Alphabet validation i.e. allow only Letters (A-Z) using OnKeyPress event in JavaScript.

When User types in the TextBox, the text in the TextBox will be validated using OnKeyPress event handler in JavaScript and if the inputted character is not Alphabet i.e. Letters (A-Z), the error message will be displayed next to the TextBox.
29 Jan 2019 29 Jan 2019 0 Comments  19825 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Numeric validation i.e. allow only Numbers (Digits) using OnKeyPress event in jQuery.

When User types in the TextBox, the text in the TextBox will be validated using OnKeyPress event handler in jQuery and if the inputted character is not Numeric i.e. Numbers (Digits), the error message will be displayed next to the TextBox.
29 Jan 2019 29 Jan 2019 0 Comments  4645 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Numeric validation i.e. allow only Numbers (Digits) using OnKeyPress event in JavaScript.

When User types in the TextBox, the text in the TextBox will be validated using OnKeyPress event handler in JavaScript and if the inputted character is not Numeric i.e. Number (Digit), the error message will be displayed next to the TextBox.
29 Jan 2019 29 Jan 2019 0 Comments  24138 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform AlphaNumeric validation i.e. allow only Alphabets and Numbers using OnKeyPress event in jQuery.

When User types in the TextBox, the text in the TextBox will be validated using OnKeyPress event handler in jQuery and if the inputted character is not AlphaNumeric i.e. Alphabet or Number, the error message will be displayed next to the TextBox.
29 Jan 2019 29 Jan 2019 0 Comments  24717 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform AlphaNumeric validation i.e. allow only Alphabets and Numbers using OnKeyPress event in JavaScript.

When User types in the TextBox, the text in the TextBox will be validated using OnKeyPress event handler in JavaScript and if the inputted character is not AlphaNumeric i.e. Alphabet or Number, the error message will be displayed next to the TextBox.
29 Jan 2019 29 Jan 2019 0 Comments  30963 Views
Here Mudassar Ahmed Khan has explained with an example, how to allow only AlphaNumeric, Dot (Period) and Underscore characters in Username 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.
25 Jan 2019 25 Jan 2019 0 Comments  21023 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Email validation without using Regular Expression (Regex) in JavaScript.

This article will illustrate how to validate Email Address without using Regular Expression (Regex) i.e. by making use of String operations and checking the various requirements for a valid Email Address using JavaScript.
22 Jan 2019 16 Aug 2022 0 Comments  38613 Views
Here Mudassar Khan has explained with an example, how to validate Email using JavaScript and Regular Expression (Regex) in ASP.Net MVC Razor.

When the Submit Button is clicked, the Email Address in the TextBox will be validated using JavaScript and Regular Expression (Regex) in ASP.Net MVC Razor.
28 Dec 2018 28 Dec 2018 1 Comments  40044 Views
Here Mudassar Ahmed Khan has explained with an example, how to check if String contains only Alphabets (Letters) and Numbers (Digits) using JavaScript.

This article will illustrate how to use Regular Expression which allows Alphabets (Letters) and Numbers (Digits) i.e. AlphaNumeric characters to filter out all unwanted characters using JavaScript.
28 Dec 2018 28 Dec 2018 0 Comments  23264 Views
Here Mudassar Ahmed Khan has explained with an example, how to check if TextBox contains Special Characters in JavaScript.

This article will illustrate how to use Regular Expression which allows Alphabets and Numbers (AlphaNumeric) characters with Space to check whether the value entered in the TextBox contains Special Characters or not.
28 Dec 2018 28 Dec 2018 0 Comments  113003 Views
Here Mudassar Ahmed Khan has explained with an example, how to use Regular Expression (Regex) to exclude (not allow) Special Characters in JavaScript.

This article will illustrate how to use Regular Expression which allows Alphabets and Numbers (AlphaNumeric) characters with Space to exclude (not allow) all Special Characters.
28 Dec 2018 28 Dec 2018 0 Comments  23092 Views
Here Mudassar Ahmed Khan has explained with an example, how to check Special Characters using Regular Expression (Regex) in JavaScript.

This article will illustrate how to use Regular Expression which allows Alphabets and Numbers (AlphaNumeric) characters with Space to filter out all Special Characters.
28 Dec 2018 28 Dec 2018 0 Comments  63734 Views
Here Mudassar Ahmed Khan has explained with an example, how to check whether String contains Special Characters using JavaScript.

This article will illustrate how to use Regular Expression which allows Alphabets and Numbers (AlphaNumeric) characters with Space to filter out all Special Characters and verify whether String contains Special Characters.
13 Dec 2018 13 Dec 2018 0 Comments  13332 Views
Here Mudassar Ahmed Khan has explained a simple tutorial with an example, how to use the ng-pattern-restrict directive in AngularJS.

The ng-pattern-restrict directive is used to restrict the user input by disabling the invalid characters with the help of Regular Expression patterns in AngularJS.
13 Dec 2018 13 Dec 2018 1 Comments  23532 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Numeric validation i.e. allow only Numbers (Digits) in TextBox using Regular Expressions in AngularJS.

The Numeric validation will be performed with the help of ngPatternRestrict module which uses Regular Expressions for restricting characters in TextBox in AngularJS.
12 Dec 2018 12 Dec 2018 0 Comments  24678 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform AlphaNumeric validation i.e. allow only Alphabets and Numbers in TextBox using Regular Expressions in AngularJS.

The AlphaNumeric validation will be performed with the help of ngPatternRestrict module which uses Regular Expressions for restricting characters in TextBox in AngularJS.
04 Oct 2018 04 Oct 2018 0 Comments  99738 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Date of Birth (Age) Validation using Regular Expressions (Regex) in JavaScript.

There will be two types of Validations:
1. Date format dd/MM/yyyy validation: The Date of Birth (DOB) will be first validated for dd/MM/yyyy format using Regular Expression (Regex).
2. 18+ Minimum Age validation: The difference between the age entered in the TextBox and the Current Date is minimum 18 years.
Results 81 - 100 of 136