How to remove the ### from grep output?
File containing:
### Invoked at: Wed Dec 7 22:24:35 2022 ###
My grep command:
grep -oP "Invoked at: \K(.*)" $file
Expected output:
Wed Dec 7 22:24:35 2022
Current output:
Wed Dec 7 22:24:35 2022 ###