Category - Regular Expressions
Results 41 - 60 of 66
03 Jan 2018 03 Jan 2018 0 Comments  36570 Views
Here Mudassar Ahmed Khan has explained with an example, how to use Regular Expression (Regex) to accept/allow Alphanumeric characters i.e. Alphabets (Upper and Lower case) and Numbers (Digits) and Special Characters in TextBox in ASP.Net using:-

1. RegularExpression Validator.
2. JavaScript.
3. jQuery.
03 Jan 2018 03 Jan 2018 0 Comments  24489 Views
Here Mudassar Ahmed Khan has explained with an example, how to use Regular Expression validator for Alphanumeric validation i.e. Alphabets (Upper and Lower case) and Numbers (Digits) in TextBox in ASP.Net.
03 Jan 2018 03 Jan 2018 1 Comments  32028 Views
Here Mudassar Ahmed Khan has explained with an example, how to use Regular Expression (Regex) to accept/allow only Alphanumeric characters i.e. Alphabets (Upper and Lower case) and Numbers (Digits) in TextBox in ASP.Net using:-

1. RegularExpression Validator.
2. JavaScript.
3. jQuery.
02 Jan 2018 02 Jan 2018 0 Comments  56482 Views
Here Mudassar Ahmed Khan has explained with an example, how to use Regular Expression (Regex) to allow only Numbers (Digits) and Space character in JavaScript and jQuery.
02 Jan 2018 02 Jan 2018 1 Comments  71577 Views
Here Mudassar Ahmed Khan has explained with an example, how to use Regular Expression (Regex) to allow only Numbers (Digits) and Special characters in JavaScript and jQuery.
19 Apr 2017 19 Apr 2017 0 Comments  60329 Views
Here Mudassar Ahmed Khan has explained with an example, how to create HTML Fileupload element (<input type = “file” />) using Html Helper and Model in ASP.Net MVC Razor.

By default, there is no Html Helper method for creating HTML Fileupload element (<input type = “file” />) in ASP.Net MVC Razor and hence Html.TextBoxFor function is used and the type Attribute is set to value File.
18 Apr 2017 18 Apr 2017 0 Comments  59987 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Client Side validation of HTML Fileupload element (<input type = “file” />) using Data Annotations in Model class and jQuery in ASP.Net MVC Razor.

HTML Fileupload element validation will allow upload of only certain files by filtering them using their extensions. This filtering of files will be done using the RegularExpression Data Annotation attribute in Model class.
02 Dec 2016 02 Dec 2016 0 Comments  44988 Views
Here Mudassar Ahmed Khan has explained with an example, how to use the RegularExpression Data Annotation in ASP.Net MVC Razor.
The RegularExpression Data Annotation can be applied to Model Properties and used for enforcing Regular Expression (Regex) validations in ASP.Net MVC Razor.
02 Dec 2016 02 Dec 2016 0 Comments  72207 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Mobile Number (Cellphone Number) TextBox validation i.e. exact Ten Numbers (Digits) validations using Data Annotations and RegularExpressions (Regex) on Client Side in ASP.Net MVC Razor.
A Mobile Phone Number (Cellphone Number) is a numeric value with exact ten (10) digits and such validation can be achieved using the RegularExpression Data Annotation attribute in ASP.Net MVC Razor.
02 Dec 2016 02 Dec 2016 1 Comments  64252 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform Decimal TextBox Validation i.e. Decimal Number with maximum up to two decimal places validation using Data Annotations on Client Side in ASP.Net MVC Razor.
The Client Side Decimal TextBox Validation i.e. Decimal Number with maximum up to two decimal places validation will be performed using Model class and RegularExpression Data Annotation attribute in ASP.Net MVC Razor.
30 Nov 2016 30 Nov 2016 0 Comments  52214 Views
Here Mudassar Ahmed Khan has explained with an example, how to perform AlphaNumeric TextBox Validation i.e. allow only Alphabet and Number characters validation on Client Side using Data Annotations and jQuery in ASP.Net MVC Razor.
The Client Side AlphaNumeric TextBox Validation i.e. allow only Upper Case and Lower Case Alphabet and Number (Digits) characters validation will be performed using Model class and Data Annotation attributes.
15 Jul 2016 15 Jul 2016 0 Comments  6786 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement multiple TextBox Email validation in JavaScript.
15 Jul 2016 15 Jul 2016 0 Comments  15568 Views
Here Mudassar Ahmed Khan has explained with an example, how to validate multiple Email Addresses using JavaScript and Regular Expressions.
07 Aug 2015 07 Aug 2015 0 Comments  16354 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Password complexity validation in JavaScript and jQuery.
The Password complexity validation in JavaScript and jQuery will be performed using Regular Expressions (Regex).
04 Jun 2015 04 Jun 2015 7 Comments  63669 Views
Here Mudassar Ahmed Khan has explained how to implement Password Strength validation for Password TextBox with examples in JavaScript and jQuery.
The Password strength validation in JavaScript and jQuery will be performed using Regular Expressions (Regex).
17 May 2015 17 May 2015 0 Comments  17812 Views
Here Mudassar Ahmed Khan has explained how to get and extract Inner Text from HTML HyperLink (Anchor tags) using Regular Expression (Regex).
15 Mar 2015 15 Mar 2015 6 Comments  95335 Views
Here Mudassar Ahmed Khan has explained how to detect mobile phone browser (mobile device) in ASP.Net using C# and VB.Net.
With the help of Regular Expressions, one can easily detect and find whether the User is using a Desktop browser or mobile phone browser (mobile device) in ASP.Net.
15 Jul 2014 15 Jul 2014 0 Comments  151912 Views
Here Mudassar Ahmed Khan has shared the following Regular Expressions (Regex) for validating decimal numbers in TextBox.

1. Regular Expressions (Regex) to allow both decimals as wells as integers numbers.
2. Regular Expressions (Regex) to allow any decimal number starting from 1 upto N decimal places.
14 Jul 2014 14 Jul 2014 0 Comments  35912 Views
Here Mudassar Ahmed Khan has shared the following Regular Expressions (Regex) for validating decimal numbers in TextBox.

1. Regular Expressions (Regex) to match number with decimal precision of exact 1 decimal place.
2. Regular Expressions (Regex) to match number with decimal precision of exact 2 decimal places.
3. Regular Expressions (Regex) to match number with decimal precision of upto 2 decimal places.
22 Jun 2014 22 Jun 2014 2 Comments  338863 Views
Here Mudassar Ahmed Khan has explained how to use Regular Expression (Regex) to accept/allow only Alphabets and Space in TextBox in ASP.Net using:-

1. RegularExpression Validator.
2. JavaScript.
3. jQuery.
Results 41 - 60 of 66