Skip to content

Instantly share code, notes, and snippets.

@AaronPhalen
Last active October 13, 2015 16:38
Show Gist options
  • Save AaronPhalen/64b11e6387f1c73d05a9 to your computer and use it in GitHub Desktop.
Save AaronPhalen/64b11e6387f1c73d05a9 to your computer and use it in GitHub Desktop.
Tutorial on advanced usage of Python's regular expression module with practice examples.
# Author: Aaron Phalen | Twitter: @aaron_phalen | Email: aaronphalen@gmail.com
# Summary:
# A rudimentary understanding of regex expression (Regex) can take a programmer a long
# ways with text manpulation. However, only once the advanced concepts of
# Regex is understood, can a programmer can increase the elegance and efficiency of code,
# and thefore ultimately increasing programming output by virtues of specialization.
# Motivation:
# I have been using regular expressions for a couple years in the most basics sense, and
# the need to broaden my regex scope of knowledge in this programming meta-language has
# not needed until recently. See advanced usage of Regex in various Python Django books,
# my interest has been piqued by the elegance and thus this gist!
import re
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment