Created
April 28, 2013 06:36
-
-
Save janbaer/5476117 to your computer and use it in GitHub Desktop.
Replace parts of the content of a textfile with regular expressions in Powershell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(Get-Content -path $inputFile) -Replace '"(\d+),(\d{1,})"', '$1.$2' -Replace '"(\d+)"'| Out-File $outputFile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment