Parsing a website using regex

Hi community,

I am looking for a way to parse a website for a specific value which is displayed on the site. The website unfortunately does not offer an API (XML, JSON).

Is there a way to load the website and parse the source code by using e.g. regex? I already have the regex to extract the desired value.

Thanks,

Mike

Yes, this can be done. You can create a plugin that uses an http.get to get the response from the website. Then use the standard regex JavaScript tools to parse that response. Most of the regex JavaScript functions found on the web are supported by the Plugin engine.

https://www.w3schools.com/jsref/jsref_obj_regexp.asp