I'm not very well versed in regex; I use it from time to time, but never anything serious (I'm proud when I get a lookback to work, for example). Anyway, I am dealing with an issue where I have an XML output log that is ~9000 lines long, and it contains large Envelopes of useless information I want to pare out.
I could do this manually, but I have close to 30 of these babies to go through, so I felt like I would give a regex a go.
Here's what I'm searching for:
<_INFO_UNTIL_FIRST_LEFT_BRACE> " " <debug> _ALL_CHARS_BETWEEN_THIS_AND_THE_FOLLOWING_LITERAL_CHARACTER_SEQUENCE_:
<string>Device.IP.Interface.</string>
</ParameterNames>
</cwmp:GetParameterValues>
</soapenv:Body>
</soapenv:Envelope>
I'm sorry that this is kind of a clunky thread, but it's quite the large chunk of text, and for some reason regexpal isn't being very nice with the .*