I created a regex to detect when a sentence is in the following format, "{word {more words}}".
Here is how I am detecting if a sentence is in this format.