Often times you will find yourself using the same character class expression over and over again. A regex character pattern such as [0-9] represents digits only, specifically the numbers 0 through 9. An expression such as this is used so often, the regex architects decided to make a shorthand metacharacter for just such an occasion: \d. The regex string literal "[0-9]" is functionally identical to "\\d". Predefined Character Classes are essentially just extensions of the standard metacharacters. Before continuing with this tutorial, I highly recommend that you watch my Regex Character Classes Part 1 Tutorial , Regex Character Classes Part 2 Tutorial, and my Regex Metacharacters Tutorial.
On this page of the site you can watch the video online Learn Java Programming - Regex Predefined Character Classes Tutorial with a duration of hours minute second in good quality, which was uploaded by the user Daniel Ross 04 February 2016, share the link with friends and acquaintances, this video has already been watched 1,130 times on youtube and it was liked by 17 viewers. Enjoy your viewing!