Added stripping of colour codes.

This is to address issue #20. Minor regex fix implemented.