Hi , how do you get a text file information to be placed in the right section of another text file.
Ex: text file contains height , size, date, & the second text file has a paragraph with words but are not all in the same place. I need the height , size, date to all be at the right place?
Expract relavent data using split or regex
And then use replace function to replace the values
System.Text.RegularExpressions.Regex.Match(str,"(<=Height-)[\d\.]*").Value - this will give values of heights etc
Now can use replace
Str.Replace("XX",AgevalueExtracted)
At the end write the data back to file
Cheers
1 Like
Hi @Sira
Check the below workflow. It is done with the given inputs
SampleProcess8.zip (41.2 KB)
FLOW:
OUTPUT:
Regards
1 Like
Hi @Sira
Below is the modified workflow. This will give you exact output.
SampleProcess8.zip (41.3 KB)
Regards
1 Like
What if the output is always changing, depending on the text file information
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.





