The aim is replace ",," with blank in the text files.

The below works on single file:
$path = "C:\Users\ThompsonHo\Desktop\testing\F181RMR CAN.txt"
$word = ",,"
$replacement = ""
$text = get-content $path
$newText = $text -replace $word,$replacement
$newText > $path
I try to make it handle for multiple files but fail, How to do replace on multiple files with powershell?
$path = "C:\Users\ThompsonHo\Desktop\testing\F18*.txt"
$word = ",,"
$replacement = ""
$text = get-content $path
$newText = $text -replace $word,$replacement
$newText > $path
rn")) }