PowerShell and DevOps, Microsoft Sessions

TT05 Regex for Rockstars

August 4th, 2020

9:30am - 10:45am

Level: Advanced

Thomas Rayner

Sr Security Service Engineer

Microsoft

You're not a regex noob. You know about quantifiers like ?, *, and +. You also know about tokens like \w, \s, and \d. It's time, now, to take your regex skills to the next level with some advanced concepts like grouping, capturing, and lookbehinds. Get ready to stand above your peers in a big way.

Regex intimidates people, and rightfully so. It's complicated and isn't always very readable for humans. It really takes some work to get your head around and truly understand regular expressions. This session is for people who know basic regex concepts and want to take their learning to the next level. Regex is like chess in that it's easy to learn, but very hard to master. I'll be teaching attendees some advanced moves to help them accelerate their learning and start doing some really cool things with regex. Anybody can write $number -match '\d', but not everyone can isolate the third octet out of an IP address.

You will learn:

  • Regular expressions beyond the basics
  • Regex flexibility
  • Regex shortcuts