fix regular expression to remove footnote links from wiki