Strip timestamps from input