Regular expressions in Python by example

Every time I come back to Python from the land of Perl here at work, I need to re-learn how to use regular expressions in Python, as it is, IMHO, quite a bit different from Perl.

Rather than trawling through the docs again, I made some online notes this time.

Hope it is useful to somebody.

Bookmark and Share
This entry was posted in tech and tagged , , , . Bookmark the permalink.
  • http://twitter.com/g13n Gopal Venkatesan

    The examples work for languages which have space as separator. Using the re.UNICODE flag is always better.