twistedm1nd Posted February 23, 2005 Posted February 23, 2005 I have a string which has to be grouped using regular expressions The sample string is \{Voltage\}{VoltageValue, Max\{Value\},5,5}\{Voltage\}\{Pressure\}{PressureValue,12345}\{Pressure\} The output should be Group 1 : {VoltageValue, Max\{Value\},5,5} Group 2 : {PressureValue,12345} Basically should ignore "\{", "\}" and group it based on '{' and '}' Can Somebody help me in formulating the regular expression? Thanks and regards 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.