/ Published in: Regular Expression
This search and replace fixes empty footnote anchors that appear when copying / pasting Word content into a Dreamweaver html document.
Expand |
Embed | Plain Text
// Language: Regular Expression Search / Replace (PSPad) // Title: Replace Empty Footnotes Anchors with Linked Numbers // Description: This search and replace fixes empty footnote anchors that appear when copying / pasting Word content into a Dreamweaver html document. // Author: Karl Horky // Creation Date: 10 November 2009 // Last Modified Date: 10 November 2009 Search: (<a\shref="#_ftn(ref)?(\d{1,2})"\sname="_ftn(ref)?\d{1,2}"\stitle=""\sid="_ftn(ref)?\d{1,2}">)\s(</a>) Replace: <sup>$1$3$6</sup>
You need to login to post a comment.
