Study the \d, \s, \w, and. metacharacters
regex provides for quantifiers which allow you to specify concepts like: "look for one or more digits in a row."
Study the ?, *, and + greedy quantifiers.
Remember that metacharacters and Strings don't mix well unless you remember to "escape" them properly. For instance String s = "\\d";
The Pattern and ...