Python supports powerful regular expressions for transforming text. This is useful for eliminating unwanted spaces
and tabs (also known as whitespace) and for other types of transformations.
For example, the following example removes any whitespace padding within a text field: