PowerShell - Regular Expressions
What is the output of this PowerShell command?
'Hello World' -replace 'World', 'PowerShell'
'Hello World' -replace 'World', 'PowerShell'
-replace operator substitutes 'World' with 'PowerShell', resulting in 'Hello PowerShell'.-replace shows replaced string [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions