Regular expressions: https://docs.python.org/3.2/library/re.html Textwrap documentation: https://docs.python.org/3/library/textwrap.html Unicode documentation: https://docs.python.org/3/howto/unicode.html