Ask Your Question

How to change links in footnotes into hyperlinks [closed]

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

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

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

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


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 +0100 )edit

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 +0100 )edit

Question Tools



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

Seen: 423 times

Last updated: Apr 03 '14