re_code re_code search for matches to argument pattern within each element of a character vector:
re_code
Useful links