3.Matching digits and non digits character.
The expression \d matches any digit[0-9] character and expression \D matches every non-digit characte...
Tags: regex, java