I need an automated way to deal with the following: I get an email (plain text) from a client, it has some long urls in it, many actually. So some hard wrap, they are all usually wrapped in < url > style
I need to take lines that are urls and url encode them, any suggestions? So I may get a file like this This is a test title <http://www.example.com/da/erwq/dsa/index.html?foo=bar&id=12> This is a test title #2 <http://www.example.com/da/erwq/dsa/index.html?foo=bar&id=12&blue=red&green= blue> So I just want to alter the urls and url encode them, as a final step, I want to find and replace on: http://www.example.com to <http://www.example.com/index.html?jump= -- ------------------------------------------------------------- Scott Haneda Tel: 415.898.2602 <http://www.newgeo.com> Novato, CA U.S.A. -- ------------------------------------------------------------------ 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]>
