# This will create a struct called EventRE with the fields start, end, ampm, and activity # Get the start ^(?\d{1,2}:\d{1,2}) . # Get the end time (?\d{1,2}:\d{1,2}) \s{0,2} # Get the AM or PM after the times (?[AMPM]{2}) . # Get the activity string (?.+)