String example: "{something}"
or "{word: something}"
What I need to do is get 'something', so the text between two specific parts of the string, in these case {
-}
and {word:
-}
(The 'something' part can change in every string, I never know what it is).
I tried using string.find() or regex but I didn't come up with a conclusion. What's the quickest and best way to do this?