On May 12, 2008, at 1:27 PM, Richard Carr (Carr Scott Software) wrote:
How would that look?
OK, here's the situation: I have a page of HTML that has been hit by
spammers exploiting the form tag.
The affected pages have 10,000 lines of porn spam which I need to
delete. There is HTML at the top and the bottom of the page to
preserve.
It takes a very long time to scroll 10,000 lines of HTML to delete.
It would be much quicker to "select all" and then de-select the
header, footer and legitimate content.
Can this be done?
Some options are:
Click after the first part. Scroll to the end (option clicking the
scroll bar field near the bottom, dragging the scroller to the
bottom, pressing the end key), then find the end and shift-click and
delete.
Click after the first part. Command-shift-downarrow to select to the
end of the file. Then scroll to the and shift click after the spam.
Delete.
Use a utility like PTH Pasteboard which gives you a clipboard history
(if you are using your Mac without a clipboard history, you are
really missing out alot). Select the top part, cut, select the
bottom part, cut, select all, delete, and then paste the two cut
pieces.
Use a second document. Select the top part, drag to the second
document. Select the bottom part, drag to the end of the second
document. Select all, delete. Select all of the second document and
drag back.
Enjoy,
Peter.
--
Keyboard Maestro 3 Now Available!
Keyboard Maestro <http://www.keyboardmaestro.com/> Macros for your Mac
<http://www.stairways.com/> <http://download.stairways.com/>
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>