D
DotNetNewbie
Hi,
I have text in a file that looks like this:
[
2
in stock]
What kind of regex could get the '2' ?
I tried this:
string regex = @"[\s]*(?'stock'.*?).*in\sstock]";
But it didn't work since [\s]* doesn't include tabs etc, and I am not
sure exactly what that whitespace is.....
I have text in a file that looks like this:
[
2
in stock]
What kind of regex could get the '2' ?
I tried this:
string regex = @"[\s]*(?'stock'.*?).*in\sstock]";
But it didn't work since [\s]* doesn't include tabs etc, and I am not
sure exactly what that whitespace is.....