Error in Reading CSV file

Kindly look at this expression and crct if I am wrong

Hi,

Do you want to remove first line? If so, the following helps you.

text = System.Text.RegularExpressions.Regex.Replace(text,"^.*\n",String.Empty)

Regards,

No ist not removing. Its not empty line. It has data

ok in downloadFikter file attached above: just read the file as string and remove first description. Let me know if u can

Hi,

Can you check the following sample?

Sample20200611-3.zip (26.4 KB)


First 3 rows(lines not removed)

Hi,

We need remove first 5 lines.
Can you try the following expression?

 System.Text.RegularExpressions.Regex.Replace(text,"^(.*\n){5}",String.Empty)

Regards,

Thank You so much works fine

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.