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

Browse by Tags

All Tags » .net » asp.net
  • if exactly 10 numbers in string then OK else Not OK

    I have made a regex to check the build-up of a number and it works fine. The only condition I can't make is:  if exactly 10 numbers in string then OK else Not OK So OK: 1234567980 and 123456a7890 and a1a2a3a4a5a6a7a8a9a0a      etc.. Not OK 132456798 and 13456a789 and a1a2a3a4a5a6a7a8a9a etc Any1 Any Idea?
    Posted to Construction Advice (Forum) by wineton on November 25, 2008
  • Daterange Regex Help needed

    Hello Everyone. I am working on a .NET 3.5 project that needs a regex for date range.  I have tried using Expresso and have searched http://regexlib.com/ but have come up empty handed. the regex needs to be able to accept the following input (yyyy - yyyy) AND (yyyy) can can not accept years earlier than 1900 or later than 3000 (needs ...
    Posted to Construction Advice (Forum) by rockinthesixstring on May 19, 2008
  • Need a regular expression for validating email which should exclude /|\;,<> and spaces

    Hi I need a regular expression for email validation, it should excldue the email addresses with the following special characters.  \|/,;<> and spaces. The rule for validating the email is : Email address must contain a single @, one or more periods, and any standard characters with the exception of spaces and the ...
    Posted to Construction Advice (Forum) by bvsuresh_reddy on March 19, 2008
  • How to accept certain symbols and reject others

    I'm trying to create a regex that has the following requirements: 1. must be at least 7 characters in length 2. must contain at least 1 digit 3. must contain at least 1 lowercase letter 4. must contain at least 1 uppercase letter 5. must contain at least one of the following symbols: = ! $ % ^ & + 6. It must reject any word that ...
    Posted to Construction Advice (Forum) by RobertH on November 13, 2007
  • Complex Name Matching Assistance

    I wrote a VB.NET application that parses airline passenger data using Regular Expressions.  The passenger's last name appears first followed by a slash.  There can be many different data items after that.  In the airline data, the passenger name format is: [] = optional -[Number]Last Name/First Name/Initial [Middle ...
    Posted to Construction Advice (Forum) by brianbos on November 6, 2007
  • Regex to stop users inputting html

    Hi all regex experts I need a Vb.net 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