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 2015-11-29 11:40:45.