Friday, January 19, 2007

Copying html links from the office html document to Wiki

Dropping here to find the next time I need it: Regex: (.*?)<a.*?href="(.*?)".*?>(.*?)</a> Replace by: [\3\2]\r\n (Not pretending to have an optimal or universal one, also leaves the backtrail of everything after the last link)