Ben Balter 3/20/2011

Regular Expression to Parse Word-style Footnotes into WordPress's Simple Footnotes Format

Read Original

This technical article details the creation of a WordPress plugin that parses Microsoft Word's footnote format using PHP regular expressions. It explains the regex patterns to extract footnotes, build find/replace arrays, and integrate with Andrew Nacin's Simple Footnotes plugin to automate the conversion of pasted Word content into a clean, web-compatible format.

Regular Expression to Parse Word-style Footnotes into WordPress's Simple Footnotes Format

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week