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 2018-04-29 21:01:12.