Home >Web Front-end >JS Tutorial >Use regular expressions in JavaScript to match multiple items and obtain the grouped data in each item_javascript skills
However, what I have to face is a very loose HTML page that cannot be XML
Therefore, the focus of this article is that if the web page to be obtained contains Table or List paragraphs, the information of these paragraphs needs to be saved to JS in the form of columns. Paste the code directly into the array
:
ID | Name | Phone | 01 | Zhang San | 1234567 |
---|---|---|
02 | < ;td>李思343434 | |
03 | Wang Wu | < td>685654