This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Greetings, I'm unable to figure out a pattern in regex for the following problem, I'd very much appreciate your inputs in this regard,
I must validate a String, the validation rules are. The String must not start with an underscore(-), a space or an unprintable character. The string must not contain any empty spaces or unprintable characters.
Except for unprintable characters my pattern looks OK, here's what I have
Could you please suggest me how to enhance my pattern in order to check for any unprintable characters in the string.