Pattern.matches(regex, input);
matches function do this:
"Compiles the given regular expression and attempts to match the given input against it.".
I cant understand the above statement.
can u explain me how the above function works and for what purpose it will be used?
