C# EDI Parser – Using RegEx Capture to Xref PO to Filename
This C# code fragment illustrates how to use the RegEx Captures collection within RegEx Groups. I needed the ability to read all files in a directory, and build a CSV to cross reference the PO number to the EDI file it was in. <pre> //Pattern we want, but then escape all the ^ signs "REF^BM^(\d*)~"; string […]