I have the following information in a config file:
Begin
0
0
13
44
59
047
8784
I'm reading that information and a ton of other information from the config file in as l.
My regex is:
string points = points = Regex.Match(l, @"BEGIN\r\n(\d+)$").Groups[1].Value;
it's returning ""
Where am I going wrong with this Regex?
Real solution remove the $:
string points = points = Regex.Match(l, @"POINTS\r\n(\d+)").Groups[1].Value;