Created
November 13, 2012 20:04
-
-
Save adarsh/4068038 to your computer and use it in GitHub Desktop.
RegEx for converting `.md` to `.JSON` for use in https://github.com/thoughtbot/trail-map
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
s/\* \(.*\) \[\(.*\)\](\(http.*\)).*/{\r \"name\": \"\1 \2\",\r \"url\": \"\3\"\r}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment