On 9 Aug 2013, at 13:19, SBD wrote:
I'm looking for a way to strip all codes (I want plain text) from
things I have copy/pasted into a word doc on my Mac. I understand
this can be done by using Notepad on PCs, but I'm not able
to figure this out via my new Mac. Any suggestions? Thanks!
There have been plenty of good suggestions made already, but I'll add
one specific to BBEdit:
1. Download and install this to BBEdit's "Text Filters" folder:
https://github.com/tjluoma/bbedit/blob/master/Text-Filters/HTML-to-Plain-Text.sh
2. Install lynx (if it isn't already)
http://code.google.com/p/rudix/wiki/lynx
And then you can use BBEdit's "Text Filter" feature to convert any HTML
document to plain text.
The advantage of using `lynx` instead of trying to create your own
solution is that it has been designed to deal with all sorts of 'edge
cases' of weird and/or badly written HTML.
TjL
--
This is the BBEdit Talk public discussion group. If you have a
feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].