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

Re: Help modify this RegEx to exclude some maches

  •  12-20-2005, 9:52 AM

    Re: Help modify this RegEx to exclude some maches

    Lookahead will work just as well. You want to exclude a match if the next character from the class [<>] is '>', right? You're using a similar tactic to go backward, but since you don't have "variable-length lookbehind," you can't really use it. So I think you want this:

    match(?![^<>]*>)


    "Some day, and that day may never come, I will call upon you to do a service for me." — Don Vito Corleone
View Complete Thread