Ask Your Question
2

How to change links in footnotes into hyperlinks [closed]

asked 2014-03-31 14:44:52 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi there,

I have a gazillion footnotes, most of which contain a non clickable link. Is there an easy way to change a link into an hyperlink? I have alt. Search and Replace, but I cannot find a way of doing it...

I have read this: http://ask.libreoffice.org/en/questio... and tried to apply it in reverse (selecting all footnotes using Alt. Search and Replace, but it is not working. URL recognition in autocorrect is selected already.

Thanks :)

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2016-02-20 18:40:37.828822

1 Answer

Sort by » oldest newest most voted
0

answered 2014-04-03 05:00:40 +0200

oweng gravatar image

If the Alternate Search and Replace extension supports regular expression capture groups, then it should be possible to trigger URL recognition by inserting a space after each URL. Something like search for: (http://[^ ]*) and replace with: \1 i.e., backslash one followed by a space. Capture groups do not appear to be supported in the LO-provided Search / Replace facility.

edit flag offensive delete link more

Comments

that regex won't work (starting that you have to replace with $1, but that isn't all!)

Dennis Roczek gravatar imageDennis Roczek ( 2014-04-03 10:24:24 +0200 )edit
1

The replace bit didn't work, or perhaps I should say I could not make it work... Anyway, I didn't realize that it was enough to add a space at the end of the link, so I did that manually... That took me only a few ins, and less than it would have taken me to learn how to use regualr expressions :D

arkadian gravatar imagearkadian ( 2014-04-03 11:19:59 +0200 )edit

Question Tools

3 followers

Stats

Asked: 2014-03-31 14:44:52 +0200

Seen: 356 times

Last updated: Apr 03 '14