You need to escape special characters to use user input inside a regular expressionwhich. A. Addslashes() B. Htmlentities() C. Preg_quote() D. Regex_quote() View AnswerC. Preg_quote()