MCQs > IT & Programming > Regular Expressions With PHP Test > Which of the following is the correct syntax for creating a Regular Expression object in PHP?

Regular Expressions With PHP Test MCQs

Which of the following is the correct syntax for creating a Regular Expression object in PHP?


Answer

Correct Answer: $string = 'abcd';<br>echo preg_match("/abc/", $string);

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Regular Expressions With PHP Test Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

More Regular Expressions With PHP Test MCQ Questions

search

Regular Expressions With PHP Test Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it