Consider the following regular expression pattern \\w+. What will it match?

Last Updated :
Discuss
Comments

Consider the following regular expression pattern \\w+. What will it match?

One or more word characters (letters, digits, and underscores)

One or more non-word characters

Any character except a word character

Zero or more word characters

Share your thoughts in the comments