/ Published in: Java
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
java.util.regex.Pattern.matches("\\d*", (test==null)?"":test.trim())
returns a boolean
Comments
 Subscribe to comments
                    Subscribe to comments
                
                