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

Browse by Tags

All Tags » regex » asp.net
  • Looking for help with XSS w/ RegEx, VBScript (ASP) -- I'm New! :P

    Hey everyone.  Seems like these days there is a subculture for EVERYTHING! Im glad I found this one... however, I am just starting. So please have mercy.  Basically, here is my pickle. Our windows server got hacked/injected etc etc.  We had user input sanitation in place, but obviously it wasn't "smart" ...
    Posted to Construction Advice (Forum) by tokey on August 26, 2010
  • Help validate directory path

    I need help creating a regular expression for a user input on an asp.net 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
  • Regex for string not having \ / and .(dot) and length must be 60

    Hi, I need a help on creating regular expression for string length must be 60 and it should not contain \ / and .(dot) I have two regular expressions for validating separately for above condtion. I need it in single expression. Expression are   [^\\/\.]+$    for checking \ / .(dot)^.{60,60}$    for fixed ...
    Posted to Construction Advice (Forum) by bussureddy82 on June 3, 2009
  • Catching a multiline text block

    Hi all, I have a get a piece of text from a document and I don't find the way to it with a singular regEx. The text has the following ...
    Posted to Construction Advice (Forum) by George__2008 on April 5, 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 Template TOKEN Problem

    This is my current regex, for matching template tokens, at the moment it is not matching inner html "(?<subdata>[.\n\r]*)", i need it to match everything including new lines & whitespace characters. It uses asp.net for ...
    Posted to Construction Advice (Forum) by Beachnerd on October 28, 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
  • Re: Simple Regex

    I am assuming you mean that if there is an "@" sign in the text box you want the validator to not allow the text through. For help with asp.net controls you really should be at the http://aspadvice.com forums. This is for help with regular expressions. The regex you need is ^[^@]+$  So the asp.net you will need is something like ...
    Posted to Construction Advice (Forum) by Brendan on March 23, 2007