oh sorry yes, I get all this information from an curl command (calling the REST API from my Home Assistant to be exactly) - this command grabs all the attributes from a state of an entity, but I only want to extract one specific attribute of it and get it displayed as a notification
After searching a bit on the forum here I discovered regular expressions, I'm not sure if that is the right direction to filter the text i want
Incidentally, as you are fetching a JSON value, if you leave the curly { braces } in place,
a KM Evaluate a JavaScript for Automation can read the whole record for you directly, and return any values that you name.