Abstract
Regular expressions are a powerful and standardized way of searching, replacing, and parsing text with complex patterns of characters. If you’ve used regular expressions in other languages (like Perl), the syntax will be very familiar, so you might want to just read the summary of the re module (http: //www.python.org/doc/current/lib/module-re.html) to get an overview of the available functions and their arguments.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2004 Mark Pilgrim
About this chapter
Cite this chapter
Pilgrim, M. (2004). Regular Expressions. In: Dive Into Python. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-0700-9_7
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0700-9_7
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-59059-356-1
Online ISBN: 978-1-4302-0700-9
eBook Packages: Springer Book Archive