PHP Regular Expressions Which one of the following preg PHP function is used to do a find and replace on a string or an array? preg_findre() preg_replace() preg_find() preg_find_replace() preg_findre() preg_replace() preg_find() preg_find_replace() ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions What will be the output of the following PHP code?$author = "nachiketh@example.com";$author = str_replace("a","@",$author);echo "Contact the author of this article at $author."; Error Contact the author of this article at nachiketh@ex@mple.com Contact the author of this article at n@chiketh@ex@mple.com Cont@ct the @uthor of this @rticle @t n@chiketh@ex@mple.com Error Contact the author of this article at nachiketh@ex@mple.com Contact the author of this article at n@chiketh@ex@mple.com Cont@ct the @uthor of this @rticle @t n@chiketh@ex@mple.com ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions Which one of the following functions is used to search a string? preg_found preg_match preg_find preg_search preg_found preg_match preg_find preg_search ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions POSIX stands for Portable Operating System Interface for Linux Portative Operating System Interface for Unix Portable Operating System Interface for Unix Portative Operating System Interface for Linux Portable Operating System Interface for Linux Portative Operating System Interface for Unix Portable Operating System Interface for Unix Portative Operating System Interface for Linux ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions What will be the output of the following PHP code?$username = "jasoN";if (ereg("([^a-z])",$username))echo "Username must be all lowercase!";elseecho "Username is all lowercase!"; Username must be all lowercase! No Output is returned Username is all lowercase! Error Username must be all lowercase! No Output is returned Username is all lowercase! Error ANSWER DOWNLOAD EXAMIANS APP
PHP Regular Expressions What will be the output of the following PHP code?$text = "this istsome text thatnwe might like to parse.";print_r(split("[nt]",$text)); [0] => this is [1] => some text that [2] => we might like to parse. Array ( [0] => this is [1] => some text that [2] => we might like to parse. ) this is some text that we might like to parse. Array ( [0] => some text that [1] => we might like to parse. ) [0] => this is [1] => some text that [2] => we might like to parse. Array ( [0] => this is [1] => some text that [2] => we might like to parse. ) this is some text that we might like to parse. Array ( [0] => some text that [1] => we might like to parse. ) ANSWER DOWNLOAD EXAMIANS APP