Here you can find the source of isNumber_Lowerletter_Underline(String str)
public static boolean isNumber_Lowerletter_Underline(String str)
//package com.java2s; /**// w w w .j ava 2 s.c o m * * Methods Descrip:Converts a line of text into an array of lower case words * using a BreakIterator.wordInstance(). * <p> * * This method is under the Jive Open Source Software License and was * written by Mark Imbriaco. * * @param text * a String of text to convert into an array of words * @return text broken up into an array of words. * */ import java.util.regex.Matcher; import java.util.regex.Pattern; public class Main { public static boolean isNumber_Lowerletter_Underline(String str) { boolean flag = false; Pattern p = Pattern.compile("[A-Z0-9]*"); ; Matcher m = p.matcher(str); ; flag = m.matches(); return flag; } }