java regular expression
        Posted  
        
            by changed
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by changed
        
        
        
        Published on 2010-03-21T23:29:59Z
        Indexed on 
            2010/03/21
            23:31 UTC
        
        
        Read the original article
        Hit count: 415
        
java
|regular-expression
Hi
I have to create a regular expression for some path conversion. Example for path are
//name:value /name:value // name:value
/name:value /name:value
/name:value//name:value
thing is how to check for // or / at the start or middle of the string and how can i specify that name can contain any of this a-zA-Z and _
Path also contains white spaces.
thanks-
© Stack Overflow or respective owner