simple regex not working in java

Printable View