5 Replies Latest reply on Nov 29, 2006 12:44 PM by 800282

    problem with  regular expression  validation

    807607
      hi, 
         how can i validate folder structure
      
         conditions
           no two  forward slashes(/) in a sequence no  special characters
          " /w" and   "  '/'  "     
      
          e:/tomcat/ss/ss.text
             if(valStr.matches("((['/'])[a-zA-Z0-9_]*)")){
                      System.out.println("matches");    
                } 
               else
                      System.out.println("notmatches");
             
      this is no correct .
       
      please give me right solution        
        
      with regards
      ss