str.replace('.','') should replace every character? (fix)
- [ X] closes #24804
- [X ] tests added / passed
- [ X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ X] fix replace pattern problem

