Thanks, John. I'll give this a go tomorrow when the sun comes up. Take care. DJ
--- DAVID JONES | MANAGING DIRECTOR FOR ZSYSTEMS SERVICES | z/VM, Linux, and Cloud 703.237.7370 (Office) | 281.578.7544 (CELL) INFORMATION TECHNOLOGY COMPANY On 04.18.2020 4:10 AM, John P. Hartmann wrote:
Dave, assuming that the last hyphen within the quotes is the operative delimiter, this works with your sample: substr fs - f-1 of fs " f2 As for pattern, I think this is an example of what you are asking: (':kwd' rem):out /* Stage name Thus, your pattern could go like this depending on the exact syntax of the ID (tested with your sample): pattern toword '<A NAME="' output(":p id=") span("0123456789") "_pgfId-" span("0123456789"):out output(".") At this point, you might wish to verify the trailing context. On 4/18/20 00:51, Dave Jones wrote:<A NAME="50434546_pgfId-644511"></A>
