Dec 17, 2006 #1 U Unsafe Member Joined Dec 17, 2006 Messages 5 Hello, Dim str As String = "{command}somthing{command}" How could I get the text between {command} using regex? e.g. return the string "somthing". Thanks, Max
Hello, Dim str As String = "{command}somthing{command}" How could I get the text between {command} using regex? e.g. return the string "somthing". Thanks, Max
Dec 18, 2006 #2 mskeel Well-known member Joined Oct 30, 2003 Messages 913 Location Virginia, USA There is a Regex.split. You may also want to check out regex.matches. Youll probably have to string.trim the curly braces.
There is a Regex.split. You may also want to check out regex.matches. Youll probably have to string.trim the curly braces.