Java tutorial
//package com.java2s; public class Main { public static boolean isAlpha(String name) { String pattern = "^\\d*[a-zA-Z][a-zA-Z\\d]*$"; return name.matches(pattern); } }