Link to home
Start Free TrialLog in
Avatar of balajime
balajime

asked on

how to find strings between curly brackets (using C# Regex split)

I want to find strings between curly brackets (using C# Regex split)

sample string:
This is a test string {First curly bracket} This is a test string {Second curly bracket}

output i need in string array:
{First curly bracket}
{Second curly bracket}

Any help would be very useful. Please give code sample.
ASKER CERTIFIED SOLUTION
Avatar of ddrudik
ddrudik
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of balajime
balajime

ASKER

Great. Got answer in a minute. Your guys are expert.
Thanks for the question and the points.