Got more questions? Find advice on: ASP | SQL | XML | Windows
in Search
Welcome to RegexAdvice Sign in | Join | Help

Browse by Tags

All Tags » validate
  • Help validate directory path

    I need help creating a regular expression for a user input on an page with c# code behind. I have a textbox where a user can enter a directory path; which i then use to save certain files at. they can enter a local directory, a directory on network, server or an ftp site. so for example these are valid ...
    Posted to Construction Advice (Forum) by imranmp on February 25, 2010
  • Password Validation Pattern

    Hello, I need help! I got this password validation expression (?=.{6,})(?=(.*\d){1,})(?=(.*\W){1,}) and should add additional "rule". The rules in this expression are: the pwd has to be at least 6 chars long, contain at least one digit and contain at least one special character. The "rule" or expression I should add, should ...
    Posted to Construction Advice (Forum) by wesen on January 15, 2009
  • Validate distinct characters in a string

    Hi I need an expression that validates a string containing only zero or one of each character A, C, D and/or L  regardles of order. So for instance strings like "ADLC", "D", "LA", "LCDA" etc are valid but strings like  "DLLA", "CADAL", "CC", "AKC", ...
    Posted to Construction Advice (Forum) by pstone on January 11, 2009
  • Regex to stop users inputting html

    Hi all regex experts I need a regex that excludes any text with html in it. I'm trying to create a text box with a regular expression validator which will not accept text with html in it such as <b>Bold</>.  I'm working with/in ASP.Net 2.0  For this input "<b>Bold</>" should generate an ...
    Posted to Construction Advice (Forum) by geoffreymh on September 20, 2007
  • Help in writing a regular expression

    Hi, I have a validation criteria which says: a number cannot start with "000" which is 9 digits in length. And it needs to be in one expression. Can somebody help me in writing a regular expression for this? Thank you
    Posted to Construction Advice (Forum) by trueharsh on July 31, 2007
  • Re: advice for simple SQL where clause expression

    Here you go: (?i)^\[[^\]]+\]\.\[[^\]]+\]\s+(?:LIKE|=|<|>|<>|<=|>=)\s+(?:'[^']*'|\d+)(?:\s+AND\s+\[[^\]]+\]\.\[[^\]]+\]\s+(?:LIKE|=|<|>|<>|<=|>=)\s+(?:'[^']*'|\d+))?\s*$
    Posted to Construction Advice (Forum) by eSquire on May 1, 2007