What is the regular expression to match a digit (0-9) in a string?
Answer options
A
True
B
False
Correct answer: False
Explanation
\B matches a non-word boundary position, not a word boundary (that is \b).
Correct answer: False
\B matches a non-word boundary position, not a word boundary (that is \b).
PrimerDumps has 1400+ primer questions, 2026 mocks and coding hands-on — all free.