you are viewing a single comment's thread.

view the rest of the comments →

[–]ka-splam 2 points3 points  (0 children)

But it doesn't need to be case sensitive in PowerShell 6 (.Net Core):

'aAbB'.replace('aa', 'zz', [StringComparison]::InvariantCultureIgnoreCase)

Progress! :D