In short, I have a large HTML document that I want to grab all the text from. Should be as easy as copying and pasting it, right? Well, not quite. There’s a bunch of tables and images interspersed throughout that I don’t want included.
So is there a way to grab all the text, sans images and other non-text things?
[QUOTE=Red Barchetta]
In short, I have a large HTML document that I want to grab all the text from. Should be as easy as copying and pasting it, right? Well, not quite. There’s a bunch of tables and images interspersed throughout that I don’t want included.
So is there a way to grab all the text, sans images and other non-text things?
[/QUOTE]
What are you pasting into?
Into word or similar?
Select all
Copy.
Then into Word..
Edit
Paste Special
Unformatted Text
Or paste the web page into notepad, save the file then copy and paste the text into whatever. Same deal really.
Another way. View the html doc in a browser. Choose “Save As…”. For file type, choose “Text File”.
The file will include a bunch of tabs to crudely represent some formatting, but you can remove all that with a single find/replace. For example, this is the current page saved as text & pasted back into a CODE tag in this post:
“Have you ever copied some text from a web page or a document and then wanted to paste it as simple text into another application without getting all the formatting from the original source? PureText makes this simple by adding a new Windows hot-key (default is WINDOWS+V) that allows you to paste text to any application without formatting.”