Suppose the file path is "a/b/c/d/e", how can I get a array of 'a', 'b', 'c', 'd', 'e'?
I have consider with this: 
(?:(.+)/)*?(.+)
but it get empty string,it is really unexpected.
            Asked
            
        
        
            Active
            
        
            Viewed 48 times
        
    0
            
            
         
    
    
        LoranceChen
        
- 2,453
- 2
- 22
- 48
- 
                    You can use `[^/]+` – Wiktor Stribiżew Sep 28 '16 at 16:11
1 Answers
0
             
    
    
        Mustofa Rizwan
        
- 10,215
- 2
- 28
- 43
- 
                    
- 
                    
- 
                    
- 
                    
- 
                    I'm not use `/g` in c#, I add it with `Matches` method( before is `Match` method), it works now! thanks – LoranceChen Sep 28 '16 at 16:46
-