Hi Glenn, Not sure what 'valid' means : what about "<a<b>>" ?? you should get "a","b" If so 'split' is probably not the path to the solution. But if not (i.e. <a<b>> is invalid ) why not
string[] Values = FileData.Split('<');
first then check values that are ending with a '>' Regards