x <- 'ab/cd efgh "xyz xyz"'sub('^[^"]+', "", x)
Standard input is empty
[1] "\"xyz xyz\""
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!