Abstract
Searching and replacing with regular expressions is equally easy and very simple in nature. To do that we will tweak our old code a little bit. We use “re” module and it does the simple jobs. Regular expression is itself a big topic. We try to understand the basic things so that we can use it in our future projects.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2017 Sanjib Sinha
About this chapter
Cite this chapter
Sinha, S. (2017). Regular Expressions. In: Beginning Ethical Hacking with Python. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2541-7_12
Download citation
DOI: https://doi.org/10.1007/978-1-4842-2541-7_12
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-2540-0
Online ISBN: 978-1-4842-2541-7
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)