Category - Regular Expressions
Results 11 - 15 of 60
29 Jan 2019 29 Jan 2019 0 Comments  2041 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  4946 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  1893 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  2412 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 22 Jan 2019 0 Comments  5272 Views
Here Mudassar Ahmed 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) and if the Email Address is invalid, the error message will be displayed next to the TextBox in ASP.Net MVC Razor.
Results 11 - 15 of 60