Extracting var from script html response

I’m running into an issue with the correct JavaScript code to use and can’t figure it out.

I have a request which returns an html response
The html response contains a script tag, and inside that tag are several variables I need to access

The furthest I’ve gotten was converting the html to string but can’t seem to google correctly to find the best script to extract that

@ilyaf Welcome to the Community :partying_face:

Here is a sample collection to parse the HTML response. Please check if it’s helpful.

Also there are many posts in the forum to parse the HTML response like the above one. Try to explore, if you are not finding the solution please post the response here (if there’s no confidential data) :blush: All the best!