Devon,

XPath is probably the right move here, to be honest.

That said, BBEdit can select everything up to (and including) the 200th occurrence of `<Session>` with this regular expression:

        (?s)(.*?<Session>){200}

Hope this helps.
-sam

On 14 Mar 2022, at 13:51, Devon Hubbard wrote:

We have the need to search through a ton of transactional data for things like the 200th occurrence of <Session> to dig into that specific node. One
of our team members is thinking of writing an XPath thing, but then we
thought there might be a way to do with this in BBEdit. Not through any grep magic I've been able to get working so far. Maybe a cool extension
out there that does this?

thanks

--
This is the BBEdit Talk public discussion group. If you have a feature request or need 
technical support, please email "[email protected]" rather than posting here. 
Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/F3E46CC6-1856-4942-B2B1-7A629FD876EB%40munkynet.org.

Reply via email to