fork(1) download
  1. x <- c("Prayer: Lord. Have mercy on.")
  2. sub("^[^:]*:\\s*([^.]+).*","\\1",x)
  3. sub("^[^:]*:\\s*[^.]+\\.\\s*([^.]+).*","\\1",x)
Success #stdin #stdout 0.24s 38888KB
stdin
Standard input is empty
stdout
[1] "Lord"
[1] "Have mercy on"