National_Instruments
200-500 · Question #131
You want to test if a string matches a relatively complex pattern. Which of the following functions can you use? (Choose 2)
The correct answer is B. preg_match() C. ereg(). See the full explanation below for the reasoning.
Question
You want to test if a string matches a relatively complex pattern. Which of the following functions can you use? (Choose 2)
Options
- Amatch()
- Bpreg_match()
- Cereg()
- Dregex()
How the community answered
(63 responses)- A5% (3)
- B84% (53)
- D11% (7)
Community Discussion
No community discussion yet for this question.