Remove string from text

Hey I have a string in data table

00066836-001//1

I want to remove 001// and i want as 00066836-1

Can any one help on this.

Thanks regards in advance

Hi @Priyanka_Rajashekar

This regex expression

System.Text.RegularExpressions.Regex.Replace(str,"001//","").ToString.Trim

output: -
image

1 Like

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