Remove all formatting codes from text, leaving only the text.

ParameterstextFormatted text to parse. (type: str)
ReturnsPlain text without any control sequences. (type: str)
Present Since13.1
API Documentation for Twisted, generated by pydoctor at 2019-06-07 00:11:44.