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

Browse by Tags

All Tags » exclude substring
  • 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
  • Need an expression to find all text between numeric identifiers

    Hello, I am using C# in Visual Studio 2008.  I have a text file of the entire Bible that I am wanting to either put into a database or write to an XML document.  The format of the text is as follows with comments in C# single line comment style to the right of the actual text (example: Genesis  //book ...
    Posted to Construction Advice (Forum) by RandyHJ on May 13, 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
  • Exclude subsctring within marks

    Hello there,  I got a text like "hello world #hello world# hello world" and I got 3 captures after simple regexp like "\s*(hello world)\s*. I need regexp to capture only 2 groups and not to capture the text within # marks. Is there a way to do that? Thanks in advance.
    Posted to Construction Advice (Forum) by Maxmyd on October 12, 2007
  • Exclude a substring

    I have a string of the style SS_somestring_20041102_10061464.txt  from which i want to generate the string  SS_20041102 using a regular expression. Can someone help me? Thanks  In Advance PB
    Posted to Construction Advice (Forum) by prasadbcs on October 11, 2007
  • Parsing HTML table with regex (PHP). Getting the first <td> inner contents.

    Hello, I've seen there were some similiar topics but as far as i tried none of them actually worked with my problem. I am trying to parse a biger HTML table with two <td>'s for each <tr>. Let's say it looks like this: <table>     <tr>        <td ...
    Posted to Construction Advice (Forum) by kyeno on April 26, 2007