Browse by Tags

Related Posts

  • Re: How to Control the Length of a multiline text box

    How about using RegularExpressionValidator to validate length of TextBox it will also take care of serverside validation. following sample code shows how to use that. Run sample code 1 <%@ Page Language="C#" %> 2 < html > 3 < head id= "Head1" runat= "server" > 4 < title >Multiline...
    Posted to Client Side Web Development (Forum) by Jigar on 01-07-2007, 12:00 AM
    Filed under: Validation, RegularExpressionValidator, Regex
  • Suggestion RegExpValidator with regexp options

    Hya, I've searched all over the net and couldn't find any workaround for this, but this is my problem i have a data validation regex "^((31(?!\ (Feb(ruary)?|Apr(il)?|June?|(Sep(?=\b|t)t?|Nov)(ember)?)))|((30|29)(?!\ Feb(ruary)?))|(29(?=\ Feb(ruary)?\ (((1[6-9]|[2-9]\d)(0[48]|[2468][048]|[13579][26])...
    Posted to Web Forms (Forum) by pnmcosta on 01-24-2007, 12:00 AM
    Filed under: RegEx, Options, regular expression, regularexpressionvalidator, suggestion
  • RegularExpressionValidator that Accepts Only Floating/Double Numbers

    Hi, What is the regular expresstion that I should use in order to accept only floating/double numbers. That's it; only digits are accepted with any amount and only one or none "." (dot) character is accepted, just like the below examples: 32.546 .342 662 7.3 Thanks in advance.
    Posted to Web Forms (Forum) by salan_alani on 02-04-2007, 12:00 AM
    Filed under: regular expression, regularexpressionvalidator
  • Regular Expression not working with RegularExpressionValidator.ValidationExpression property

    Layout: On create user screens, the user inputs various user information and creates a password for the user. Click "add User", and create the user. The passwords in the DB must be 7 characters in length and contain at least 1 non-alphanumeric character. So in response, I created a regular expression...
    Posted to Client Side Web Development (Forum) by dcolemanturner on 02-16-2007, 12:00 AM
    Filed under: RegularExpressionValidator, password validation, regular expression, ValidationExpression
  • Simple Regular Expression (apparently)

    Hi, I've been trying to write a very simple Regular Expression for a password textbox, which consists of restricting the password length to between 4 and 20 characters, and having no whitespace. However, I can't find any easy way of doing this (I would like to have the whitespaces checked within the...
    Posted to Web Forms (Forum) by dotnetuk on 05-03-2007, 12:00 AM
    Filed under: validation, validate, regular expression, regularexpressionvalidator, Valdiation Controls, RegularExpression (?! ) expression, validation Controls, Regular Expression Validator, valdiation Controls ValidationGroup
  • Regular Expression Validator

    Hi iam using regular expression validator to validate a textbox which accepts password with in web form. My requirement is text box must contain atleat one alphabet(a-z),one number(0-9) and one special character( ~!@#$% ^&?). i tried with below expression it is accepting alphabets,numbers but not...
    Posted to Web Forms (Forum) by munna218 on 05-10-2007, 12:00 AM
    Filed under: ASP.NET 2.0, Web Forms, ValidationGroup, regular expression, regularexpressionvalidator, ASP.NET 2.0 webform, Asp .net, RegularExpression (?! ) expression, Regular Expression Validator, asp .net 2.0 webforms
  • envoke a javascript function if regularexpressionvalidator is true or false

    Hello every body I am using a regularexpressionvalidator to check and see if an email is correct or not. Now if the email address is correct I want to show a logo (green tick sign) in front of that text box (where the email is typed) otherwise show a red cross sign instead. I also want to show the default...
    Posted to Client Side Web Development (Forum) by Rahabm on 05-23-2007, 12:00 AM
    Filed under: RegularExpressionValidator
  • Inconsistant Regular Expressions

    I am having trouble with inconsistant behavior regarding regular expressions. I use the following regexp to test for a 'strong' password: ^(?=.*[0-9]).{6,20}$ This requires 6-20 characters with at least one digit. The expression works PERFECTLY when I use it with System.Text.RegularExpressions'...
    Posted to Web Forms (Forum) by angryllama on 07-16-2007, 12:00 AM
    Filed under: ASP.NET, RegEx Match, RegEx, ASP.NET 2.0, regular expression, regularexpressionvalidator, Regular Expression Validator
  • Checking a field DOES NOT contain an email address

    Hi, I have an TextBox control on my WebForm and I need to validate it to ensure it isn't an email address. I know how to use a RegEx validator to check IT IS an email address but how would I validate it to check it IS NOT an email address? Thanks in advance. Andy
    Posted to Web Forms (Forum) by AndyBanks on 12-14-2007, 12:00 AM
    Filed under: validation, regular expression, regularexpressionvalidator, validation Controls, Regular Expression Validator, validator, regular expression Validator email
  • RegularExpressionValidator, how to invert the result.

    Hi. I want to use the RegularExpressionValidator to pick up on pattern matches that will result in a page error because of ValidateRequest ="true" page directive. This in order to give the user a more user friendly error message than would result if the serverside safeguards hits it. Now, the...
    Posted to Web Forms (Forum) by Tormod on 03-05-2008, 12:00 AM
    Filed under: regularexpressionvalidator
Page 1 of 2 (13 items) 1 2 Next >