Replacing one string in a Textfile with Powershell

Job ID: 34261548

Budget: $30 – $250 USD

Hello,
i need a quick help in changing a string in a textfile which looks like this:
<webPublicBaseUrlForSSP>https://domain1/test</webPublicBaseUrlForSSP>

'https://Domain1' can be various content and it must be always result in 'http://localhost'.
Can someone guide us a quick solution which works immediatly?
Other smart projects like this will follow.

many thanks in advance

Tamer
Related categories: Script Install Powershell