I have a document that several instances of terms surrounded by curly braces - {Example}. The number of characters between the braces varies. I am trying to use Find and Replace to change the style of the font for everything inside of the braces including the braces.
I am using the search term \{.*\}
with Regular Expressions checked. it seems to work in most cases, but there are several instances where it will find one of the sets of the brackets and also include all the text between that instance and the next instance of brackets. Here is an example:
{IndexKey} and {EntryKey}
In the case above, rather than find just “{IndexKey}” Find and Replace is highlighting “{IndexKey} and {EntryKey}”.
Is this a bug or am I missing something in my expression?