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

Negative Lookbehind problem with VB.NET

  •  10-13-2008, 4:32 AM

    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 be:

    Me.randomtext.FullText

    Me.morerandomtext.FullText

    An example of what I would like it to match would be

    variable1 = FullText

    FullText = variable2 

     Help with problem would be greatly appreciated!

    P.S. Thought I would mention, I can't seem to get any lookbehinds or lookaheads to work :S
     

    Filed under: ,
View Complete Thread