Appendix B. Regular expressions quick reference

One of the really interesting features of Windows PowerShell is its ability to work with regular expressions. Regular expressions are optimized to manipulate text. Windows PowerShell uses regular expressions in many different places. Here is a listing of some of the places where regular expressions might be used:

Image Select-String cmdlet

Image ConvertFrom-String cmdlet

Image Where-Object cmdlet

Rename-Item cmdlet ...

Get Windows PowerShell Step by Step, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.