I have output like this in plain text:
BEGIN:VCALENDAR
PRODID:-//Service-now.com//Outlook 11.0 MIMEDIR//EN
VERSION:2.0
METHOD:REQUEST
BEGIN:VEVENT
ATTENDEE;ROLE=REQ-PARTICIPANT;RSVP=TRUE:MAILTO:email@emailaddress.com
ORGANIZER:email@emailaddress.com
DTSTART:20230710T100000Z
DTEND:20230710T113000Z
UID:e61m11jt9fxe9107402h0561263af9b
DTSTAMP:20230703T150531Z
DESCRIPTION:Description of invite
SUMMARY:Test summary here
LOCATION:england
END:VEVENT
END:VCALENDAR
How can I extract the text after "SUMMARY:" and the same for other things for each one of these invites?
Thanks