code_junkie

How do I efficiently transform a series of strings in powershell

Nov 13th, 2011
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. <tag>blah blahXXXXXblah blah</tag>
  2.  
  3. blah blahZZZZZblah blah
  4.  
  5. $foo | %{$_.Replace("XXXXX", "ZZZZZ")}
Add Comment
Please, Sign In to add comment