This page will describe how to remove formatting, time codes, closed caption from a .srt subtitle file.
subtitleeditor
subtitleeditor has an option to export as plain text. Simply open the .srt file with subtitleeditor then go to File >> Export >> Export Plain Text.
Pros:
It's very easy!
Cons:
* It does not strip tags like <i>
, etc.
* Dialogues written on multiple lines within the same time code are kept on separate lines. (In some instances, this can be considered a pro).