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

Posted by: Pdfprep Category: 200-710 Tags: , ,

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

Leave a Reply

Your email address will not be published.