?
....
Hi
I'm trying to do something which I think is pretty simple, but really I
don't know what I'm doing
I have a string like this
HELLO WORLD
25 ERRORS
I want to search the string and return and line with the word ERRORS
25 ERRORS
I've tried this, but it's not working... Can oneone help a dummy please?
Thanks
Regex reg1 = new Regex("HELLO WORLD" + Environment.NewLine + "25 ERRORS");
Match m;
m = reg1.Match(".ERRORS.");
textBox2.Text = m.Value;
I'm trying to do something which I think is pretty simple, but really I
don't know what I'm doing
I have a string like this
HELLO WORLD
25 ERRORS
I want to search the string and return and line with the word ERRORS
25 ERRORS
I've tried this, but it's not working... Can oneone help a dummy please?
Thanks
Regex reg1 = new Regex("HELLO WORLD" + Environment.NewLine + "25 ERRORS");
Match m;
m = reg1.Match(".ERRORS.");
textBox2.Text = m.Value;