I’m writing a function to read emails from Octopus energy and using a function extract the times for said free electricity. Their emails have a subject as so…. “Free electricity 11-12pm Sunday 5th October” I need to extract the time and date part. Setting up the control panel schedule part is easy.
Simply put extract “11-12pm Sunday 5th October” from “Free electricity 11-12pm Sunday 5th October”