I have string input from a file that looks like this, and I have created a regex that successfully extracts just this:
addresses { 1.1.1.1;
2.2.2.2;
3.3.3.3;
}
And there can be arbitrary whitespace on any line. I'd like to get a List<string>
of just the address values:
s[0] = "1.1.1.1"
s[1] = "2.2.2.2"
etc...
Can anyone help me with the relevant C#? I'm at the limits of my regex skills.