Examveda
Examveda

How many functions does PHP offer for searching and modifying strings using Perl-compatible regular expressions.

A. 7

B. 8

C. 9

D. 10

Answer: Option B

Solution(By Examveda Team)

The functions are preg_filter(), preg_grep(), preg_match(), preg_match_all(), preg_quote(), preg_replace(), preg_replace_callback(), and preg_split().

This Question Belongs to PHP >> Regular Expressions

Join The Discussion

Related Questions on Regular Expressions