J
Johan Goris
What is the best way to parse text containing tabs by using Regex?
Is this already correct? What can be added?
private string[] SplitsOp(ref string teDoen)
{
int counter = 1;
int count1;
Regex expression = new Regex(@".*\t");
string[] s = new string[count1]; // I want to equal count1 with the count
of tabs.
do{
s[counter] = expressionMatch( .... // what's needed here?
}while (++counter <= count1)
return s;
}
Is this already correct? What can be added?
private string[] SplitsOp(ref string teDoen)
{
int counter = 1;
int count1;
Regex expression = new Regex(@".*\t");
string[] s = new string[count1]; // I want to equal count1 with the count
of tabs.
do{
s[counter] = expressionMatch( .... // what's needed here?
}while (++counter <= count1)
return s;
}