fork download
  1. library(stringr)
  2.  
  3. a = "USER 2020-02-09 01:13SOMETHING INTERESTING HERE.USER 2020-02-10 08:30and something else comes here"
  4. str_match_all(a, "[0-9][0-9]:[0-9][0-9](.*?)(?:\\bUSER|$)")[[1]][, 2]
Success #stdin #stdout 0.27s 42752KB
stdin
Standard input is empty
stdout
[1] "SOMETHING INTERESTING HERE."   "and something else comes here"