I want to use regex to extract some text from the website html code i've retrieved by using the Nodejs. And the text i received was like this:
<body>
...
<p>text with certain format that I want.</p>
...
</body>
How should I extract the test and store it in a variable?
The reason I do this is because I need to retrieve the information from numerous pages, it is impossible to do it manually.
Huge thanks in advance!