Regular Expressions in Python
Maria Eugenia Inzaugarat
Data Scientist
Key concepts
Concatenate and split
Index and slice strings
Replace and remove characters
Insert custom strings into a predefined text
Three string formatting methods
Best approach according to situation
Basic syntax
Normal characters
Metacharacters
Greedy and non-greedy quantifiers
Capturing and non-capturing groups
Backreference a pattern
Lookaround an expression
Regular Expressions in Python