Skip to content

Instantly share code, notes, and snippets.

@gvvaughan
Created January 22, 2013 06:13
Show Gist options
  • Save gvvaughan/4592508 to your computer and use it in GitHub Desktop.
Save gvvaughan/4592508 to your computer and use it in GitHub Desktop.
MD Title Extract
import re
g = re.search ('\[[^\]]*\]\(.*"([^"]*)"\)','[foo](bar.com "Title")')
print (g.group(1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment