Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

PowerShell PowerTip: Customizing your prompt

I've been taking a break from the blog for a while due to some personal reasons, but I had a few people ask me about my PowerShell prompt recently. (image) I like extra horizontal space, so I removed the path from the prompt and put it in the window title bar. I also just display the current time in the prompt ...

Regular Expressions (REGEX): Grouping & [RegEx]

Welcome back to the RegEx crash course. Last time we talked about the basic symbols we plan to use as our foundation. This week, we will be learning a new way to leverage our patterns for data extraction and how to rip our extracted data into pieces we care about. [RegEx] The  data type has some cool static members,  but we're mostly going...

Regular Expressions (REGEX): Basic symbols

Welcome back to the RegEx guide. Last post we talked a little bit about the basics of RegEx and its uses. I mentioned the most important thing is to understand the symbols. Today we'll ease in with some of the basics to get us going, but later we will expand on these and see some other options we have.  is used to represent any single ...