You may want, depending on your purposes, to pay a little more attention to the fullstops parsing, as you may find the sequence '...' and not be interested in considering all of them.
Also, you might have considered
moritz's suggestion on using
tr (transliteration).
You can still do it as an exercise to an alternative of your own code.