O'Reilly logo

Pro Windows PowerShell by Hristo Deshev

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

15.6. Summary

In this chapter, you learned how to work with file contents: how to retrieve a file, process it, and save it back to the hard drive. We did a quick tour of the most popular text encodings that may come in handy if you have to process a file originating from a little-known system. At the end, I showed you how to find and extract data from freeform text using regular expressions. With these tools in your toolbox, you should be able to process text coming from different programs and extract the data you need.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required