Java tutorial
//package com.java2s; public class Main { public static boolean isChar(String fstrData) { String regPw = "/^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,15}$/"; return fstrData.matches(regPw); } }