Check if String only contains latin letters including accents
17:13 04 Jun 2026

I want to check if a String only has latin letters (a-z / A-Z), but it may also contain letters with accents (á, à, ã, â, é, è, etc). What is the best way to do this?

If possible, I'd prefer to use the Pattern and Matcher classes, since I'm a bit familiar with those. But any solution is welcome.

java string non-ascii-characters