Skip to content

Instantly share code, notes, and snippets.

@lekro
Last active October 4, 2015 03:07
Show Gist options
  • Save lekro/63231e646f1221d44f68 to your computer and use it in GitHub Desktop.
Save lekro/63231e646f1221d44f68 to your computer and use it in GitHub Desktop.
Replace roman numerals with arabic (hardcoded) - $replace($replace($replace($replace($replace($replace($replace($replace($if2(%part%,),VIII. ,8. ),VII. ,7. ),VI. ,6. ),IV. ,4. ),V. ,5. ),III. ,3. ),II. ,2. ),I. ,1. )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment