On Thu, 02 Aug 2007 04:40:09 -0500
Peter Horst <[EMAIL PROTECTED]> wrote:
> Hi - I could use some assistance figuring out how to do a couple of
> things in Writer.
>
> 1) I'd like to be able to disable or deactivate all of the hyperlinks
> in a given document - that is, I'd like them still to look like
> hyperlinks, but I don't want them to function as hyperlinks.
>
> 2) I'd like to be able to remove from a document all strings
> resembling "**123" or "**1234" where "*" is an actual star symbol,
> and where "1234" represent any digits. These strings are a type of
> legal citation that I want to get rid of.
>
> I had a couple of quick macros set up in Word to do these tasks, but
> I am not getting very far in Writer.
>
> Thanks for any hints.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
1. I'm not sure if this works but it might be what you want. Go to
Tools- autocorrect then click the Options tab and un-select "URL
Recognition" I'm not sure whether that leaves them underlined or not,
so you might need to set up a URL style that leaves them underlined.
2. Go to "Find And Replace" (Ctl- F) click "More options" and tick the
"Regular expressions" box. I'm not real clued up on the fine
points of regular expressions, so you might need to fiddle around a
bit to get it right.
In the "find" box enter the following /*[:digit:]{1,} leave the replace
box empty. My reading of the help file suggests that this should find
all occurrences of * followed by any number of digits, then replace
them with nothing. If there is a minimum nuber of say 3 digits that you
want to fnd replace the {1,} with {3,}
Take a look at the help item for Regular Expressions. It takes some
getting used to but is a very powerful find and replace tool.
Hope that helps
--
God bless you,
Keith Bates
4 Mooloobar St
Narrabri NSW 2390
Phone: 02 67924890
Fax: 02 67925418
www.new-life.org.au
If you don't have a reason to live
JESUS IS THE ANSWER!
Ask him into your life today...
He really does make a difference.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]