Unsafe Posted December 17, 2006 Posted December 17, 2006 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 Quote
mskeel Posted December 18, 2006 Posted December 18, 2006 There is a Regex.split. You may also want to check out regex.matches. You'll probably have to string.trim the curly braces. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.