I have a text file which contains the following data, and I am trying to grab the string which starts with "WaitInstance" and end with a single quote.