G
Guest
Hi everybody,
I have a very stupid question here but I can't get it to work.
string repText = @"abc\nabc";
Regex reg = new Regex(@"abc\nabc",RegexOptions.Singleline );
Match match = reg.Match(repText);
Why this doesn't match ?
I need to keep the Singleline because in my scenario, this is in the midlle
of the file.
in reallity what i want it's to extract abc\nabc in
blalballbalblalabl
asdfafasdfsdaf
abc
abc
asdfadfafadsfafs
adfadsfasdfasdfasdf
How can I get that to work with the singlefile options ?
thanks.
I have a very stupid question here but I can't get it to work.
string repText = @"abc\nabc";
Regex reg = new Regex(@"abc\nabc",RegexOptions.Singleline );
Match match = reg.Match(repText);
Why this doesn't match ?
I need to keep the Singleline because in my scenario, this is in the midlle
of the file.
in reallity what i want it's to extract abc\nabc in
blalballbalblalabl
asdfafasdfsdaf
abc
abc
asdfadfafadsfafs
adfadsfasdfasdfasdf
How can I get that to work with the singlefile options ?
thanks.