Hey everyone,

Thanks for the help. I used a slight variation of this technique to great effect. Thanks.

On 13-May-06, at 4:23 PM, Greg Raven wrote:

Doug McNutt's solution seems pretty involved. In your place, I'd replace "<a href" with "xxzxx", and "</a>" with "xxyxx". Then I'd run BBEdit's Markup --> Utilities --> Translate, to remove all of the other markup. I'd check at this point to see that all the other markup was gone, and if not, use some Search and Replace using Grep to finish the job.

Finally, I'd go back and replace "xxzxx" with "<a href" and "xxyxx" with "</a>".

I acknowledge that this is a brute-force method, but it might be faster that attempting to modify a perl/curl combination script to deliver the results you want.

--
Greg Raven
Apple Valley, CA

Election 2006 -- Click Here to See Each Candidate's Stand on Immigration

On May 13, 2006, at 8:38 AM, Alain Paradis wrote:

Hello all,

I am a new re-subscriber to the list.

Could someone please give me some direction on how I would remove all the HTML mark-up from many documents except for the links (anything with <a href="foo.html">)

--
Regards,
Alain Paradis
Registered Graphic Designer
Paradis Graphic Design





--
------------------------------------------------------------------
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]>



--
------------------------------------------------------------------
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]>



--
Regards,
Alain Paradis
Registered Graphic Designer
Paradis Graphic Design





--
------------------------------------------------------------------
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]>

Reply via email to