To filter a specific format of file (a mixture of HTML and other string) to a more readable format.
A txt file with template like: URL + HTML SCRIPT
Output is a text document. If you open it with excel, it will look like as follows:
1. Change the value of "identifier" that help filter out your url.
2. Make sure that the charset of your file is UTF-8.
- If you just want to filter a html file, function pickUpTags() and matchUpWithLeft() may also help you.
- This code will remain the comment symbol. If you want to filter this away too, you only need to make a little trick. To know how to do that, read the comment in the code.
- This code will only generate a .txt document. However, you can open it in Excel and save it again.