RegularExpressionValidator : A Validator used in ASP.NET to validate a particular control value as that of provided pattern.
Questions tagged [reg-expressionvalidator]
17 questions
14
votes
2 answers
RegularExpressionValidator VS Ajax 1.0.20229
We have a website that runs .NET Framework 2.0 with Ajax version 10618.
But as it is, that is an old version of the dll, so we planned on switching it to the "newest" version of it for the .NET Framework 2.0, the AjaxControlToolkit version…

Smur
- 3,075
- 7
- 28
- 46
3
votes
3 answers
How to apply regular expression for Date format MM/DD/YYYY HH:MM:SS am/pm in ASP.NET
I have a TextBox where I am taking input from as user as dd/mm/yyyy hh:mm:ss. Now, I want to validate it with a regular expression. I'm not sure how to apply the expression. I have attached my code as well.

Shian JA
- 848
- 4
- 15
- 52
1
vote
1 answer
Adding exception to RegularExpressionValidator
I am trying to add an exception to my RegularExpressionValidator
Basically I am populating a textbox with the text "Not supplied" if the user hasn't given us the information if they try and submit that field I have a RegularExpressionValidator which…

Jamie Taylor
- 3,500
- 21
- 65
- 99
1
vote
1 answer
RegularExpressionValidator with 4 or 5 characters
A new requirement for me is to expand error validation on an input field. Currently it looks like this:

Johnny Bones
- 8,786
- 7
- 52
- 117
1
vote
1 answer
Regular expression for reading positive integers with leading zeros
I have the following TextBox and RegularExpressionValidator

captainsac
- 2,484
- 3
- 27
- 48
1
vote
2 answers
Backslash escaping in RegularExpressionValidator
I need to ensure that the input value contains at least one dot, so I have used the following:

UserControl
- 14,766
- 20
- 100
- 187
1
vote
3 answers
Something wrong with RegularExpressionValidator
I am using RegularExpressionValidator for FreeTextBox control in my aspx page.

vyclarks
- 854
- 2
- 15
- 39
1
vote
1 answer
asp.net 4.0 regularExpressionValidator
I need to modify my regularexpressionvalidator code to require the user to meet the following password requirements:
a. Contains at least 2 uppercase characters: A, B, C etc.
b. Contains at least 2 lowercase characters: a, b, c, etc.
c. Contains at…

MG.
- 883
- 9
- 19
- 39
0
votes
1 answer
Redshift REGEXP_REPLACE options
I have a procedure that is actually making a replace of '#$#' by '', the value that contains '#$#' it could be, like this one: 'AAA#$#DEFAEFGAA', with no defined length.
But what is really needed is to take only the characters after #$#,…

JIT
- 1
- 1
0
votes
1 answer
How to exclude hypen and match first digit after it?
i have a string "proofs 161798-2 PDF_Review_2.1_Whats_New"
I want to find the first digit after the hyphen.
however, i am using Enfocus Switch program and does not allow expressions such as (?<=-)/d{1}. It marks the ? and the () red. Does anyone…
0
votes
0 answers
QRegExp format for finding the strings which contains one new line character '\n' and arbitrary count spaces ' '
How to write QRegExp pattern for finding the strings which contains one new line character '\n' and arbitrary count spaces ' '?

ma13
- 53
- 1
- 9
0
votes
1 answer
RegularExpressionValidator asp.net
I am trying to make sure that user only can input a-z and 0-9 characters.
To do this I have used the RegularExpressionValidator class:

user3532232
- 257
- 8
- 19
0
votes
1 answer
Dynamically Add RegularExpressionValidator C#
I have this FileUpload control that automatically adds a FileUpload Control. But I need to have it also create an RegularExpressionValidator. Not sure how I can do this.
Any ideas?