Regular expressions ------------------- .. code-block:: bash sed -e 's/\.[0-9]*/.0/g' test.txt