加载中...

Python

  1. Home
  2. Computing & Technology
  3. Python

Python RegEx Examples

Here is a glossary of symbols and phrases that you can use when forming regular expressions in Python.
. | ^ | $ | * | + | ? | *? | +? | ?? | {m} | {m,n} | {m,n}? | \ | [] | | | (..) | (?iLmsux) | (?:..) | (?P<name>..) | (?P=name) | (?#..) | (?=..) | (?!..) | (?<=..) | (?<!..) | \A | \b | \B | \d | \D | \s | \S | \w | \W | \Z

Explore Python

About.com Special Features

Python

  1. Home
  2. Computing & Technology
  3. Python
  4. Regular Expressions
  5. Python RegEx Examples

©2009 About.com, a part of The New York Times Company.

All rights reserved.