PdfPrep.com

preg_match(‘/Ad+(?:.[0-9]+)?

Which sentence describes the following regular expression match?

preg_match(‘/Ad+(?:.[0-9]+)?$/’, $test);
A . It matches float numbers with thousand seperators.
B . It matches float numbers without thousand seperators.
C . It matches binary integer numbers.
D . It matches any string.
E . It does not match anything

Answer: B

Exit mobile version