I have a spreadsheet with a number of columns, one of which holds free-form text. In these pieces of text, there are excerpts that I’d like to turn into links, following a specific scheme.
The text to turn into links looks like #123, this is: a pound/hash symbol followed by an integer number. I would like to turn each of these instances into a link such as #123.
For example, if I have this text (all in a single cell, there are newlines):
Attended meeting
Created ticket #321
I would like it turned into something like this:
Attended meeting
Created ticket #321
(This is my first post and I’m not allowed to include more links, but there could be more lines in the example above with more instances of the piece of text to transform).
Currently I am doing this manually but it’s a bit labour intensive. I’ve looked a bit into macros but I can’t quite figure it out. I’m not even sure I’m finding the right documentation or examples. I have also tried with macro recording, but it doesn’t seem to support this use case.
How could I automate this process (presumably with a macro)?
In case it helps when figuring out how much detail to give in the answer: I am a confident coder, just new to LibreOffice macros.

