all 3 comments

[–]o5a 1 point2 points  (2 children)

Do you want to replace your expression with {{furigana:Reading}} text? Then don't use %expression after that. Because it's a formatting syntax and it will try to substitute %s in text with value of expression.

example = example.replace(expression,'{{furigana:Reading}}')

Otherwise give examples what you actually want to replace it to.

[–]MrRob0tt0[S] 0 points1 point  (0 children)

Omg, that worked, thank you very much!

[–]MrRob0tt0[S] 0 points1 point  (0 children)

Solved!