Doing it with PowerShell was even much faster than UltraEdit.
I had used those get-content and replace commands before, in some of my batch files, for replacing strings. But I hadn't realized they could be used for regex searches too. And I hadn't remembered the commands.
The PowerShell syntax is very non-intuitive to me, which makes it hard to remember. (why does replace need a dash? it's not an option or parameter... Out-File sounds like an object to me, not a command, etc.)
Are there any PowerShell books or online tutorials that you would recommend?
no subject
I had used those get-content and replace commands before, in some of my batch files, for replacing strings. But I hadn't realized they could be used for regex searches too. And I hadn't remembered the commands.
The PowerShell syntax is very non-intuitive to me, which makes it hard to remember. (why does replace need a dash? it's not an option or parameter... Out-File sounds like an object to me, not a command, etc.)
Are there any PowerShell books or online tutorials that you would recommend?