I am struggling to understand how to use grep and similar to extract strings that I need.
My strings are of the pattern "1899-12-31 17:20:00 UTC". I want to remove all before and including the first space, and remove " UTC". The output on this example is 17:20:00. How do I do that with base r functions like grep or gsub?