Pattern.compile(regex).matcher(text).matches(); ----------------------------------------------------------------------------- Copyright 1997-2024 Jeffrey Friedl