Regular Expression Traps Examples

User: "Al_22614"
Altair Community Member
Updated by Al_22614

I am long time Monarch user, but never used Regular Expression Traps (RegEx).  Is there any Altair Monarch videos tutorials on how to use RegEx Traps?  I am trying to read EDI XML files and there are multiple "Address" sections where I need to pull out the AddressName (vendor name) which in not always on the same line following the "VN" section of the file.  I tried using the Start/End region but that wont work because I have Detail and Append and Footer traps outside the Start/End  region.  

I found a work around by using a multi-line trap and then using a calculated field which uses Instr functions to find the ling containing "AddressName.  This works, but I thought I could use RegEx Trap as a more reliable Trapping function.

Thanks in advance for any help

Thanks

Al

Find more posts tagged with

Sort by:
1 - 2 of 21