This quiz is a test of basic PCRE, aka, preg_match(). Difficult concepts in regexes are not covered. Passing the test indicates that you have a basic understanding of regexes.
Any character
One character between 0 and 9
One or more characters between 0 and 9
Zero or more characters between 0 and 9
Any character between 0 and 9 followed by a $
Rate this question:
98090
213-99
415
1-2345
5-99
Rate this question:
Preg_match, strpos, ereg
Ereg, preg_match, strpos
Ereg, strpos, preg_match
Preg_match, ereg, strpos
Rate this question:
0 characters (empty string)
1 character
2 characters
3 characters
4 characters
Rate this question:
TEL
323
555
1212
Rate this question:
Validating input data
Dividing input text into substrings.
Converting hexadecimal into decimal.
Replacing strings with other strings.
Rate this question:
Quiz Review Timeline +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.