C# Regex, Unrecognized escape sequence

You don't need to escape the underscore (or, for that matter, the comma). Change your regex to:

@"_AUTO_\(?<number>(\d)+,"