December 3, 2020 How to check if a string contains numbers in R > grepl(“[[:digit:]]”, yourstring) [1] TRUE/FALSE 2 Kudos 2 Kudos