I have a string which at some point contains the set of characters in the following format [123].
[123]
What I would like to do is get the characters between
the statement RegularExpressions.Regex("\[([^\]]*)\]") will returns the value inside bracket And the bracket its self!
RegularExpressions.Regex("\[([^\]]*)\]")
I have used this statement to return the IPAddress surrounded by () inside long string:-
Dim IPRegEx As Regex = New Regex("(?<=\().*?(?=\))")