There is a demand to resolve (sdbeis)
To the string in brackets
Can also be <html> ...</ html>
The ordinary course of events should be used
(?=\{)[^{}]*

Or
[^{}]*(?=\})

Or
(?=\{)[^{}]*(?=\})


This in fact, match but not in the scope of the regular expression, useful only in the latter. In other words the first and the third match can not meet the requirement, the first match has become a (sdbeis, the third has the logic of error, no matching results. Second only to meet the requirements.