Civilized operating systems come with command line tools for efficient and easy text processing. If you are not on one of those OSes or simply don't remember the sometimes arcane syntax, these tools provide a web-based alternative.
Chain unlimited numbers of tools together, view intermediate results, and see the command line equivalents.