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

Browse by Tags

All Tags » except string » exclude
  • Expression to exclude two Strings

    This seems like it wouldn't be too difficult, but I am having lots of problems. I am using ASP.NET I have a form with a list of states using their two letter abbreviation. I have a regular expression validator and I would like for it to fail if the person chooses ME or WV from the list. I have have tried several expressions in Expresso and ...
    Posted to Construction Advice (Forum) by jennifer on August 21, 2008
  • Seemingly Really Obvious Expression That Eludes Me

    I am trying to match all instances of LINES but not GRIDLINES. Sounds easy right?  Well apparently I'm too green to get it.  I have "Teach Yourself Regular Expressions in 10 Minutes" and was able to digest it, I have a Firefox addin named 'Regular Expressions Tester' and an app named 'Expresso' which are ...
    Posted to Construction Advice (Forum) by cleanden on March 26, 2008
  • Need your help (POSIX C)

    Dear all,I have a question need your help (POSIX regex). the question is shown as following.There are several specified realms, and now there is a user which name likes abc@realm.com, we should check if the realm of the use was not included in those realms. Example: The realms includes @cnn.com, @mil.gov, @blackberry.com, @yahoo.com ...
    Posted to Construction Advice (Forum) by arebing on January 28, 2008
  • Re: Match text between two words

    Ok, real data (but sorry, cannot give you real person names). I will use TRegExpr for Delphi to process old ascii files with person names (code 720, plus name) optionally followed by the profession (code 100, plus profession name). ...| 720 | John Doe | 720 | Winston Smith | 720 | Peter Parker | 100 | Journalist | 720 | Humpty Dumpty | 720 | ...
    Posted to Construction Advice (Forum) by oskhar on December 10, 2007
  • Match text between two words

    Let this text:     WORD1 blahblah1 WORD1 blahblah2 WORD2 (Note that WORD1 is repeated 2 times, could be more, and that "blahblah" is some random text, always changing, but matched with .*\s*) The problem is: You want to match when WORD1 is followed at any distance by WORD2, but without any other WORD1 in the way. I ...
    Posted to Construction Advice (Forum) by oskhar on December 10, 2007