Closed myyellowshoe closed 3 years ago
Something like this should do the trick
Value Required ERROR_CODE (\w+)
Value ERROR_MESSAGE (.*)
Value List ERROR_BODY (.*)
Start
^${ERROR_BODY}
^\s{6} -> Continue.Record
^\s{6}${ERROR_CODE}:${ERROR_MESSAGE}
Cool, i'll give this a shot and let you know how it works! Appreciate the response!
I'm running into an issue where I'd love to select and loop over each line after a specific match: For example.
Text I'm parsing
Template
Results
As you can see I can get the first line just fine, but I'm struggling to figure out how to snag the next lines referring to that error. Anything I've tried seams to grab too much, and will start grabbing things in the next error code.
Essentially how would i get all new lines before the next error code? Thanks for any insight or thoughts!