[Solved] Checking string for 3 letters then 3 numbers November 27, 2022 by Kirat Use the following: string.matches("[a-zA-Z]{3}.*[0-9]{3}"); solved Checking string for 3 letters then 3 numbers