Need to remove trailing dots too (reported by Ken Belleau).
Attach a file by drag & drop or click to upload