adplus-dvertising
frame-decoration

Question

Which of the following matches nonword character using regular expression in java?

a.

\w

b.

\W

c.

\s

d.

\S

Posted under Java Programming

Answer: (b).\W

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following matches nonword character using regular expression in java?