This works:
$string = "This string, has a, lot, of commas in, it."
$string -replace ',',''
Output: This string has a lot of commas in it.
But this doesn't work:
$string = "This string. has a. lot. of dots in. it."
$string -replace '.',''
Output: blank.
Why?