Dec 17, 2006 #1 U Unsafe Newcomer 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 M mskeel Senior Contributor Joined Oct 30, 2003 Messages 913 There is a Regex.split. You may also want to check out regex.matches. You'll probably have to string.trim the curly braces.
There is a Regex.split. You may also want to check out regex.matches. You'll probably have to string.trim the curly braces.