Hi, 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 years resolution is to not try and learn regex again - So this year to save me from tears I'll give it to stackoverflow. (Last Christmas remix).
So basically 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 years resolution?
Regards,
Chris
Related (but not identical) questions on stackoverflow:
- http://stackoverflow.com/questions/346567/how-can-one-turn-regular-quotes-i-e-into-latex-tex-quotes-i-e
- http://stackoverflow.com/questions/1237/regex-to-pull-out-a-section-a-substing-from-a-string-between-two-tags
- http://stackoverflow.com/questions/328387/regex-to-replace-all-n-in-a-string-but-no-those-inside-code-code-tag
and probably others.