Using grepl (or similar function) to grap multiple patterns from a dataframe
I have a dataframe with colnames similar to following:
dog_123456,
monkey_654534,
dog_123535,
cat_456452
bird_123458,
cat_123456,
crocodile_653769,
dog_132354,
cat_123333,
…