Hi Team,
I want to remove if special character found in column name should remove.
Please help me anyone for this.
Input:

Expected output:

Reagrds,
Raja G
Hi Team,
I want to remove if special character found in column name should remove.
Please help me anyone for this.
Input:

Expected output:

Reagrds,
Raja G
Hi @Raja.G
For Each col As DataColumn In dt.Columns
col.ColumnName = System.Text.RegularExpressions.Regex.Replace(col.ColumnName, "[^a-zA-Z0-9]", "")
Next
Input:

Output:

Regards,
Hi @Raja.G
col.ColumnName=System.Text.RegularExpressions.Regex.Replace(col.ColumnName, "[^a-zA-Z0-9]", "")
Input

Output
