Regular Expression HOWTO — Python 2.7.11 documentation
The first metacharacters we’ll look at are [and ]. They’re used for specifying a character class, which is a set of characters that you wish to match. Characters can be listed individually, or a range of characters can be indicated by giving two character...