Since you talk about C#, lets stick with a dev solution, and hope yoiu coding skills are up to it.
Reading the whole file into memory is simple:
string[] lines = File.ReadAllLines(@"D:\Test Data\MyFile.txt");
That reads the whole file in, one line per element of the array. You can then use a
foreach
loop to process each line at a time:
int start = line.IndexOf("537864460");
if (start >= 0)
{
...
}
You can then use String.Substring to extract the parts of the string you want, reorder them into a new string, and write that new string to a file.
It's not complex - but that depends on your knowledge and skill level, and only you can judge that. :laugh: