bpayne111 Posted April 28, 2004 Posted April 28, 2004 C# string s = "abc{e4e5f4} def"; I have this string and i'd like to extract the string between { }. Can Regex do this for me quick and easy? thanks brandon Quote i'm not lazy i'm just resting before i get tired.
Leaders dynamic_sysop Posted April 28, 2004 Leaders Posted April 28, 2004 like this you mean maybe? string s = "abc{e4e5f4} def"; MessageBox.Show(Regex.Split(s , "([{}]+)")[2]); 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.