t <- "Current CPU load - jvm machine[example network-app_svc_group_mem4]@server101.example.com"sub(".*@([^.]+)\\..*", "\\1", t)
Standard input is empty
[1] "server101"
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!