fork(1) download
  1. t <- "Current CPU load - jvm machine[example network-app_svc_group_mem4]@server101.example.com"
  2. pattern="@([^.]+)"
  3. m <- regmatches(t,regexec(pattern,t))
  4. result = unlist(m)[2]
  5. result
  6.  
  7.  
Success #stdin #stdout 0.22s 60752KB
stdin
Standard input is empty
stdout
[1] "server101"