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

Browse by Tags

All Tags » lookbehind
Showing page 1 of 2 (17 total posts)
  • Parse a URL after .asp?

    I'm new to regex so please forgive if the solution is really simple. I need a plain expression that matches or extracts (not sure if I'm using the correct terminology) a string of 8 digits from the end of a URL. I need to insert the expression into an off-the shelf software application that will compile various types of lists for ...
    Posted to Construction Advice (Forum) by quioui on May 4, 2010
  • Just matching in the middle of a string

    Hello,   I am trying to write a regex to match just with B2 and B3   String content = "aaaaaB1aaaaaXaaaaaB2aaaaaB3aaaaZaaaB4aaaa";   String regex = "(B[\\d]{1}?);    //this group matches with all B1, B2, B3 and B4  I would need to delimit the matching between the 'X' and the ...
    Posted to Construction Advice (Forum) by matias.blasi on January 27, 2010
  • build regex that matches "xyz" in "abcmnbcxyz" (details inside)

    Hi! I need a regexp that does the following: For example we're having a string "abcmnbcxyz"   I need to build a regexp that will find everythig that goes before "z" but not containing "bc" I was trying to use lookups like that one: "(?<!bc).*?z" but it matches whole string. positive ...
    Posted to Construction Advice (Forum) by q-styler on August 12, 2009
  • Help me in writing regular expression

    I have a requirement where I have to fetch prefix in a text excluding right hand side digit pattern. For ex: AB9T0005 should give me only AB9T AB9T-K1A-0005 should give me only AB9T-K1A- What I mean is prefix may include any input including numbers and other alpha numeric values. With out using regular expression I will parse from right ...
    Posted to Construction Advice (Forum) by chambarish on June 17, 2009
  • Negative Lookbehind problem with VB.NET

    Hi, I have a problem trying to use the negative lookbehind in vb.net, as an example of what im trying to do, I am looking to match the word "FullText" where it is not preceded by "Me." Here is what I have came up with so far: (?<!Me.*)FullText  An example of what I would like to avoid matching would ...
    Posted to Construction Advice (Forum) by ChrisMS on October 13, 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
  • Problem with negative lookbehind in PHP PCRE Library.

    I have the following regex statement I'm trying to run in PHP.  (?<!(end\s?zone|lower|upper)\s?)(view)  Testing against the following string: (matches in bold) "The endzone view goes hi upper view and he goes view and then goes view and view and view!!!" Notice "upper view" and "endzone view" are ...
    Posted to Construction Advice (Forum) by simshaun on May 6, 2008
  • lookbehind simulation for app with no +ve lookbehind support

    I'm using WOA pdf-Excel to extract values from a table. An example of a line in the table would be, say: itemname  12,123  23,456  34,789 using lookbehind, I can easily extract the numbers using the regex (?<=itemname\s+(\d+,\d+\s+){n})\d+,\d+    where n=0,1,2 to extract the 3 numbers. But, there's no ...
    Posted to Construction Advice (Forum) by scubamut on November 22, 2007
  • Meta-regex to find fixed length of regex match (XSLT)

    In the context of the regex dialect of XSLT 2.0, I am looking for two "meta-regexes" that analyse other regexes. Each is discussed in a part of its own. (Part 1 posted as: Meta-regex for variable-length matching regexes (XSLT)) Part 2 Aim: A regex that provides for pre-calculating the length of the match that a fixed-length matching ...
    Posted to Construction Advice (Forum) by yvesforkl on October 2, 2007
  • Meta-regex for variable-length matching regexes (XSLT)

    In the context of the regex dialect of XSLT 2.0, I am looking for two "meta-regexes" that analyse other regexes. Each is discussed in a part of its own. (Part 2 posted as: Meta-regex to find fixed length of regex match (XSLT)) Part 1 Aim: A regex that would identify all those regexes that might yield matches of varying length, as ...
    Posted to Construction Advice (Forum) by yvesforkl on October 2, 2007
1 2 Next >