Discussion:
removing HYPERLINK text
JerseyBoy Lycos
2008-03-17 11:36:34 UTC
Permalink
Hello,

I'm converting a Word document to HTML and need to remove text as in the
following example:

HYPERLINK "http://www.abc.com/art59.html"http://www.abc.com/art59.html

I need to remove from the first H to and including the second inverted
comma so that I am just left with:

http://www.abc.com/art59.html

The text can appear either on a single line or embedded within a paragraph.

Thanks for any help.
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <***@barebones.com>, 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: <bbedit-talk-***@barebones.com>
Patrick James
2008-03-17 21:23:40 UTC
Permalink
Hi

A great thing about BBEdit is that it comes with a first rate guide to
using GREP.

In the "Help" menu you will see "Grep Reference" and there you will
find out easily how to do this.

Patrick
Post by JerseyBoy Lycos
Hello,
I'm converting a Word document to HTML and need to remove text as in
HYPERLINK "http://www.abc.com/art59.html"http://www.abc.com/art59.html
I need to remove from the first H to and including the second
http://www.abc.com/art59.html
The text can appear either on a single line or embedded within a paragraph.
Thanks for any help.
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <***@barebones.com>, 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: <bbedit-talk-***@barebones.com>
Lewis@Gmail
2008-03-18 12:36:54 UTC
Permalink
Post by JerseyBoy Lycos
HYPERLINK "http://www.abc.com/art59.html"http://www.abc.com/art59.html
http://www.abc.com/art59.html
search: HYPERLINK "[^"]+"
replace:

(that is, leave replace field blank.)

--
Yes, I do happen to believe that love is mainly about pushing
chocolate covered candies and, y'know, in some cultures, a chicken.
You can call me a sucker, I don't care, because I do believe in it.
Bottom line: it's couples who are truly right for each other wade
through the same crap as everybody else, but the big difference is
they don't let it take them down. One of those two people will stand
up and fight for that relationship every time. If it's right, and
they're real lucky, one of them will say something.
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <***@barebones.com>, 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: <bbedit-talk-***@barebones.com>
Loading...