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

Browse by Tags

All Tags » (?!)
  • Match all URL except an expression (resolved :-))

    Hi, Objective : match all URL except http://test/admin(.*) and http://test/login.aspx Test case : 1. http://test/admin 2. http://test/admin/ 3. http://test/admin_client/ 4. http://test/admin/login.aspx 5. http://test/login.aspx 6. http://test/toto.aspx 7. http://test/titi/tata.aspx Expected result : only 6 and 7 URL must ...
    Posted to Construction Advice (Forum) by thomine on July 22, 2010
  • Exclude string in expression

    I'm a newbee and hope someone will take pity on me.  In Visual Studio 2008, I need to find all line that have the whole word FROM and does NOT contain the string (WITH (NOLOCK)).  I'd settle for it not containing the work WITH.  All words are case insensitive. Select * FROM tblRequests Select * from tblRequests WITH ...
    Posted to Construction Advice (Forum) by rboehm00 on February 25, 2010
  • Search in a string until the occurrence of a particular string.

     Hi all, I amtrying to create an email parser in C#. I want to extract mail body from the entire raw email string. To separate message footer from message body, I inserted a GUID string in between them. So a sample email may like ...
    Posted to Construction Advice (Forum) by thomas_joyeee on April 22, 2009
  • 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
  • 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
  • Lines *Not* Containing Words

    Hello, I want to find lines not containing certain words. My text: This is first line And this is second line I am third line... For example my word is "second", so regex schould matches only 1 (This is first line) and 3 (I am third line...) line. I'm programming in JAVA (java.util.regex.*). Thanks for help!
    Posted to Construction Advice (Forum) by de4th on March 21, 2007
  • Help Me ,a Regular Question From Chinese boy!

    Good morning,   I have a string :   aa.98 sdfad   bb.98 sadf   cc.98 sadf  ....  I need to write it now, to find out. not in front of 98, or aa bb, all other characters. I now is : (?!aa|bb) \.98 results in a match. Please help, I come from China! English well, I do not know if you can understand what I ...
    Posted to Construction Advice (Forum) by chengmo on February 5, 2007