So, in my current Zettelkasten, I use wikilinks with just the UID – but often prepend with the note title outside of the link, like this:
# Related notes
[[UID]] This is the link title of link 1
[[UID]] This is the link title of link 2
Since Obsidian doesn’t support these links, I have to use the Markdown importer to convert this. But with either option the result will include redundancy:
# Related notes
[[UID This is the link title of link 1]] This is the link title of link 1
[[UID This is the link title of link 2]] This is the link title of link 2
or
# Related notes
[[UID This is the link title of link 1 | This is the link title of link 1]] This is the link title of link 1
[[UID This is the link title of link 2 | This is the link title of link 2]] This is the link title of link 2
How could I easily clean the important files to fix this? I would like either of these two possibilities:
# Related notes
[[UID This is the link title of link 1 | UID]] This is the link title of link 1
[[UID This is the link title of link 2 | UID]] This is the link title of link 2
# Related notes
[[UID This is the link title of link 1 | This is the link title of link 1]]
[[UID This is the link title of link 2 | This is the link title of link 2]]
I guess this is easy for someone a little more fluent in regex than I am – and using a search-and-replace in project in Atom, Sublime Text or similar?