14-01 Java matches class, pattern class, matcher class
                                        
                    •
                    Java                                    
                Pattern class
Common rules for regular expressions
Common functions of regular expressions
A: Public Boolean matches (string regex) of the string class of the judgment function
B: Public string [] split (string regex) of the split function string class
Split and sort strings
C: Public string replaceall (string regex, string replacement) of the replacement function string class
D: Get function pattern and matcher pattern P = pattern compile("a*b"); Matcher m = p.matcher("aaaaab"); Find (): find the existence of the save group (): get the data just found
                            The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
                        
                                            
                        THE END
                    
                    
                    
                                                        二维码
                        
                        
                                                
                        