In this chapter, we will cover the following recipes:
- Pattern matching—regular expressions are not the only way to parse patterns; Python provides easier and just as powerful tools to parse patterns
 - Text similarity—detecting how two similar strings in a performing way can be hard but Python has some easy-to-use built-in tools
 - Text suggestion—Python looks for the most similar one to suggest to the user the right spelling
 - Templating—when generating text, templating is the easiest way to define the rules
 - Splitting strings preserving spaces—splitting on empty spaces can be easy, but gets harder when you want to preserve some spaces
 - Cleanup text—removes any punctuation or odd character from text
 - Normalizing text—when working with international text, it's often convenient to avoid having to cope with special characters...