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

Re: RegEx to split string with a "," except "\,"

  •  04-18-2007, 8:30 AM

    Re: RegEx to split string with a "," except "\,"

    The problem is with the way you are looking. When you check the character before the , you are telling the regular expression to include it. Use this expression which has a lookbehind expression in it. It will check the character before the comma and not include it in the match.

    (?<=[^\\]),

    I hope that helps,

    Brendan 

View Complete Thread