Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# regex to find number between parenthesis

(             # Escaped parenthesis, means "starts with a '(' character"
    (          # Parentheses in a regex mean "put (capture) the stuff 
               #     in between into the Groups array" 
       [^)]    # Any character that is not a ')' character
       *       # Zero or more occurrences of the aforementioned "non ')' char"
    )          # Close the capturing group
)             # "Ends with a ')' character"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #regex #find #number #parenthesis
ADD COMMENT
Topic
Name
5+5 =