How to use predefined character class word character and non-word character? | Regex in java

Published --