Python Regex Cheatsheet

Python Regex Cheatsheet – Here some of python regex cheatsheet to make it easier to clean data.

Special Characters
\ Escape special character
. [default] Match any character except the newline character (\n)
. [DOT ALL] Match any character including newline (\n)
Methods of ‘re’ module
Raw String Notation
Extensions
Match objects
Special escape characters
Regular Expression Objects
Flags
Source :