Replace

Заменить часть строки

Wake up, Neo, select all

$str = "PowerShell"
$str.Replace("Shell","Point")

Wake up, Neo, select all

$str = "Power911Shell"
$str -replace "\d+", "***"