The server is sending a string that will have the key inside it. one string can have multiple key. I need to write a regular expression to extract the key. For example, if string coming from the server is
"{{call_started}} at 6.50 but the user was not available. {{
user_name}} must be offline. "
Here we have two key: call_started and user_name
in the incoming string, all key will start with {{ and end with }}.
How to write the regular expression for this.