This is an exemplary excerpt from my dataset. It looks like this:
Description;ID;Date
wa119:d Here comes the first row;id_112;2018/03/02
ax21:3 Here comes the second row;id_115;2018/03/02
bC230:13 Here comes the third row;id_234;2018/03/02
I want to remove those words that contain a colon. In this case, it will be wa119: d, ax21: 3 and bC230: 13, so my new dataset should look like this:
Description;ID;Date
Here comes the first row;id_112;2018/03/02
Here comes the second row;id_115;2018/03/02
Here comes the third row;id_234;2018/03/02
Unfortunately, I could not find a regex / solution with gsub? Can anyone help?
Ferit source
share