<p>I have the following line of text</p>

<pre><code>Reference=*\G{7B35DDAC-FFE2-4435-8A15-CF5C70F23459}#1.0#0#..\..\..\bin\App Components\AcmeFormEngine.dll#ACME Form Engine
</code></pre>

<p>and wish to grab the following as two separate capture groups:</p>

<pre><code>AcmeFormEngine.dll
ACME Form Engine
</code></pre>

<p>Can anyone help?</p>

```
```
using System.Text.RegularExpressions;

    Regex regex = new Regex(
    @"\\(?<filename>[\w\.]+)\#(?<comment>[\w ]+)$",
    RegexOptions.IgnoreCase
    | RegexOptions.Compiled
    );
```
```