Posts by Roner Junior • 26 points
1 post
-
1
votes1
answer74
viewsA: Validate a Matcher
You can try using the method find() or pouch() of Matcher, both return Boolean. In your case: if (!marcher2.find()) { System.out.println("Informação não encontrada"); }…