Use non-greedy regex to replace wiki links