# \#file-processing

**URL:** https://community.cdata.com/tag/file-processing/651.md

[Latest](https://community.cdata.com/latest.md) · [Categories](https://community.cdata.com/categories.md) · [Tags](https://community.cdata.com/tags.md)

---

## [Extracting Multiple Occurrences of a Loop in an EDI File Using Lookaheads in Cdata Arc](https://community.cdata.com/t/extracting-multiple-occurrences-of-a-loop-in-an-edi-file-using-lookaheads-in-cdata-arc/1041)

<div class="topic-metadata">

**Author:** [@Tarun\_Yakkala](https://community.cdata.com/u/Tarun_Yakkala)\
**Replies:** 3\
**Last updated:** [March 12, 2025, 5:29am UTC](https://community.cdata.com/t/extracting-multiple-occurrences-of-a-loop-in-an-edi-file-using-lookaheads-in-cdata-arc/1041 "2025-03-12T05:29:32Z")

</div>

I am working with an incoming EDI file where I use lookaheads to identify the correct loop. In my case, the EDI file contains the Service Level Loop (HL/HL03=‘SS’) appearing twice. While I can successfully extract the fi…
