Skip to main content
Question

Need some help with RegEx in JSON data

  • March 11, 2025
  • 4 replies
  • 21 views

Shawn Cannon
Forum|alt.badge.img

Need some help breaking some events. I have some JSON (no arrays) and it looks like more than one event is in each _raw data tha is coming in. Each distinct event in _raw starts with {"line" and {"line" has to remain in each event. I need a RegEx for this one I think.

4 replies

> I need a RegEx for this one I think.Yes


Shawn Cannon
Forum|alt.badge.img
  • Author
  • Known Participant
  • March 11, 2025

ok think i got it


json is structured. Using json tools is usually less fragile than string processing.


Shawn Cannon
Forum|alt.badge.img
  • Author
  • Known Participant
  • March 11, 2025

yeah this one just sucked having more than one event inside the _raw data. I was able to get the event breaker right