Regex to get string between curly braces

Unfortunately, despite having tried to learn regex at least one time a year for as many years as I can remember, I always forget as I use them so infrequently. This year my new year’s resolution is to not try and learn regex again – So this year to save me from tears I’ll give it to Stack Overflow. (Last Christmas remix).

I want to pass in a string in this format {getThis}, and be returned the string getThis. Could anyone be of assistance in helping to stick to my new year’s resolution?


Related questions on Stack Overflow:

129 thoughts on “Regex to get string between curly braces”

  1. I absolutely love your blog.. Pleasant colors & theme.
    Did you make this web site yourself? Please reply
    back as I’m hoping to create my own blog and would love to find out where you got this from or exactly what the theme is named.
    Many thanks!

    Reply
  2. I’m extremely impressed with your writing skills as well as with the layout on your blog.
    Is this a paid theme or did you modify it yourself? Either way keep up
    the excellent quality writing, it’s rare to
    see a nice blog like this one today. scoliosis surgery https://0401mm.tumblr.com/ scoliosis surgery

    Reply
  3. Pingback: pon pon sex games

Leave a Comment