#library(stringr) df %>% ##### if detecting regular characters ##### filter(str_detect(colum1, "patern1" | str_detect(column1, "patern2"))) df %>% ##### if detecting special characters ##### filter(str_detect(colum1, fixed("(")) | str_detect(column1, fixed(")")))
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter