Regular Expression Sample in Java