Java regular expression handy demo