Java - String matches() Method Example