Remove line from text file


this my text file content and i want to remove line where account code is 113400

Hello @Yogita_Gaikwad
Try regex.Replace method

System.Text.RegularExpressions.Regex.Replace(Sample,"(?>Option)\D+(?>113400)","").ToString


Main.xaml (7.5 KB)
Kindly refer this flow