please could you help with the regex to get everything unto the ";"..
window.egfunc = {
  name: "test name",
  type: "test type",
  storeId: "12345"
};
I have the following which works when all the data would be on one line, but as soon as there are returns, it won't work...
window.egfunc\s+=\s+(.*);
 
     
    