Auto Detection of Delimiters
EDIValidator has a Delimiter property that can be set if these delimiters are known beforehand. It also has a property called AutoDetectDelimiters. By enabling this property EDIValidator detects the special delimiter characters while validation is being performed. Validation and parsing is then performed from this point as usual.
validator.AutoDetectDelimiters = true;