Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which of the following function is used for searching text strings by means of regular expression?

a) grepd
b) grepl
c) gepexpr
d) all of the mentioned

Answer: b
Explanation: grep, grepl, regexpr, gregexpr and regexec search for matches to argument pattern within each element of a character vector.

Join The Discussion