I have tried gsub as following to remove everything before the first space but it didn't work.
lagl2$SUSPENSE <- gsub(pattern = "(.*)\\s",replace=" ", lagl2$SUSPENSE)
example of the row data: 64400/GL WORKERS COMPENSATION
and I want the result to be like that: WORKERS COMPENSATION
This is just an example but I have many observations and one column and need to delete everything before the first space.
I am new to R and to programming but I started loving it.