Vidyalelo
PHP · Q25

Databases Handling

Programming · PHP · question 25

Q25

([w-]+) will match ___________

A.
one word characters
B.
one or more word characters
C.
one or more word characters and/or hypens
Answer
D.
one or more word characters and hypens

Answer: Option C

Solution

Answer: Option C
Solution:
([w-]+), will match one or more word characters and/or hyphens—which is what your custom entry URLs consist.