User:Technical 13/Drafts/WC2MWML

To convert WikiCreole to MWML, perform the following ReGex replacements:

  • //emphasized// → /\/\/(.*?)\/\// → ''$1''
  • **strongly emphasized** → /(\**?)(.*?)(\**?)/ → '''$1'''
  • * Bullet lists (all depths) → /(\**?)(.*?)\n/ → $1 $2\n
  • # Numbered lists (all depths) → /(#*?)(.*?)\n/ → $1 $2\n
  • == headings (all depths) → /=(=*?)([^ ?].*?)\n/ → $1 $2 $1\n
  • Force\\linebreak → /\\\\/ → \n
  • {{Image.jpg|title}} → /\{\{(.*?)(\|?.*?)\}\} → [[File:$1$2]]
  • {{{
    This text will //not// be **formatted**. → /\{\{\{\n(.*?)\n\}\}\}/ → <nowiki>$1</nowiki>
    }}}