Skip to content

Instantly share code, notes, and snippets.

@insightcoder
Last active October 14, 2017 02:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save insightcoder/9ff9b10ae438d0500b858f672dc5c390 to your computer and use it in GitHub Desktop.
Save insightcoder/9ff9b10ae438d0500b858f672dc5c390 to your computer and use it in GitHub Desktop.
r'# Person \d+.*?(?=# Person \d+|$)'
'# Person 1\nName: Frodo\nDOB: 9/22/2968\nFavorite Food: Mushroom Pizza\n'
'# Person 2\nName: Samwise\nDOB: 4/6/2980\nFavorite Food: Lembas with Queso\n'
'# Person 3\nName: Gollum\nDOB: 1/1/2430\nFavorite Food: Fruit Rings Cereal'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment