Kai's Regular Expression Python Playground

This script is not the work of SNF Labs. This is a mirror of Kai Hendry's regex playground, an updated version of which can be found here.

Input

Please fill in the input and the regex fields.

Some input:

The regular expression (regex): Syntax Reference (new window)

Relevant links

The source code | Python re docs | Python re howto | Validate XHTML | Validate CSS

TODO

Python version

2.4.6 (#2, Jan 24 2010, 12:20:41) [GCC 4.3.2]

Final words

I would like to make this into an interactive way to learn how to use regular expressions with python. Please email me corrections/suggestions/comments. Regards, hendry AT cs.helsinki.fi.