Hi
Welcome to uipath community
Use READ TEXT FILE activity and pass the file path txt file as input and get the output with a variable of type string named strinput
—now use a assign activity
strinput = String.Join(“”,strinput.Split(Environment.NewLine.ToArray()))
Again use a assign activity like this
str_output = System.Text.RegularExpressions.Regex.Match(strinput.ToString,”(?<=SOW ID #).*(?=Supplier)”).ToString.Trim
where str_output will be the output we need
Cheers @mc00476004