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 :
https://cheatography.com/mutanclan/cheat-sheets/python-regular-expression-regex/
http://www.pyregex.com/
https://www.debuggex.com/cheatsheet/regex/python
https://www.shortcutfoo.com/app/dojos/python-regex/cheatsheet
https://www.dataquest.io/blog/regex-cheatsheet/
https://learnbyexample.github.io/cheatsheet/python/python-regex-cheatsheet/
http://www.pyregex.com/
https://www.debuggex.com/cheatsheet/regex/python
https://www.shortcutfoo.com/app/dojos/python-regex/cheatsheet
https://www.dataquest.io/blog/regex-cheatsheet/
https://learnbyexample.github.io/cheatsheet/python/python-regex-cheatsheet/