Find a subset of dataframe based on partial string matching from another column of values in R

I have a column of values with unique identifiers that look like this: df$1 <– c(“identifier:ab134:4sfh”, “identifier:gh164:9sgh”, “identifier:3h1v4:kk9gh” Some of them are in another column in a separate data frame with 71 columns but in that data frame, they are often clustered like this: df2$1 <– c(“”identifier:ab134:4sfh|identifier:gh164:9sgh”, “identifier:sfghskg8:kk9gh|identifier:fj893n:9sgh|identifier:gh164:9sgh”,…) I need to find all rows which…

Details