It really depends on how consistent the data is, and if it's repeated.
If your data is always of the form
... ID Config: nnnnaaa end config ...
Then I'd use a regex:
(?<=ID Config:\s+)\w+(?=\s)
Would do it:
private static Regex findID= new Regex(
"(?<=ID Config:\\s+)\\w+(?=\\s)",
RegexOptions.Multiline
| RegexOptions.CultureInvariant
| RegexOptions.Compiled
);
...
MatchCollection ms = findID.Matches(InputText);
foreach (Match m in ms)
{
Console.WriteLine(m.Value);
}