🚀 Join 1,200+ candidates currently preparing with PrimerPrep
Java Programming
Accenture Technical PrimereasyJava Programming5. Regular Expression

What is the regular expression to match a digit (0-9) in a string?

Answer options

A
True
B
False

Correct answer: False

Explanation

Quick AnswerThe correct answer is False because it directly addresses the core logic of Java Programming.

\B matches a non-word boundary position, not a word boundary (that is \b).

Related Accenture Java Programming questions

Practice more Accenture Java Programming questions

PrimerPrep has 1400+ practice questions, 2026 simulations and coding hands-on — all free.

Watch Walkthroughs!