Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
PowerShell Regular Expressions: Regex Master Class
Rating: 4.0 out of 5(93 ratings)
25,005 students

PowerShell Regular Expressions: Regex Master Class

Learn All About PowerShell Regular Expressions and use PowerShell Regex like experts
Created byLuxmi Narayan
Last updated 8/2024
English

What you'll learn

  • What are PowerShell Regular Expressions
  • What are different types of PowerShell Regex
  • How to use PowerShell regex in an efficient way
  • Detailed understanding about PowerShell Regex

Course content

1 section12 lectures1h 30m total length
  • What Are PowerShell Regular Expressions10:20
  • Requesting your Feedback0:56
  • Different Types Of Regex Characters & Reference Sheet4:25

    Explore different types of regular expressions in PowerShell, including character classes, quantifiers, anchors, and escaping reserved characters, with a reference sheet to guide you.

  • Where do we use Regex in PowerShell12:05

    Learn where regex applies in PowerShell, including match, replace, split, and select string command, plus a regex-based switch. See patterns like server-01 and digit checks to extract and transform text.

  • PowerShell - Regular Expression - Character Classes - Part_19:47
  • PowerShell - Regular Expression - Character Classes - Part_29:39
  • PowerShell - Regular Expression - Quantifiers - Part_19:17
  • PowerShell - Regular Expression - Quantifiers - Part_28:54

    Learn PowerShell regex quantifiers by building patterns with optional hyphens and digits, using the question mark for optional elements and {n}, {n,}, {n,m} to enforce counts on server name examples.

  • PowerShell - Regular Expression - Anchors3:31
  • PowerShell - Regular Expression - Escaping Characters4:21
  • Using Select String To find Matches - Part_19:04

    Learn how to use select-string to search input text or files for patterns. See default outputs and how to tailor results with case sensitivity and simple versus regex matching.

  • Using Select String To find Matches - Part_28:22
  • Let's test our learning

Requirements

  • Basic Understanding of PowerShell

Description

If You want to Master PowerShell Regular Expressions (Regex), Then this course is for you.

If your want to unlock the power of regular expressions? Look no further! In this course, we dive into the fascinating world of regex and explore how it can supercharge your PowerShell scripting.

In this Course, you will learn:

  • Fundamentals of regular expressions: Understand the syntax, metacharacters, and quantifiers used in regex patterns.

  • Pattern matching techniques: Learn how to construct regex patterns to match specific text patterns, including literal strings, character classes, and anchors.

  • Capturing and grouping: Explore advanced regex features such as capturing groups and backreferences to extract and manipulate data from complex text strings.

  • Regex in PowerShell scripting: Integrate regular expressions seamlessly into your PowerShell scripts to automate text processing tasks, file manipulation, and data extraction.

  • Best practices and optimization: Discover tips and techniques for writing efficient and maintainable regex patterns, avoiding common pitfalls, and optimizing performance.

By the end of this course, you'll have the skills and confidence to wield regular expressions like a seasoned PowerShell pro, enabling you to tackle a wide range of text processing challenges with ease and efficiency. Whether you're parsing log files, extracting information from documents, or transforming text data, mastering PowerShell regular expressions will empower you to take your automation capabilities to the next level.

Who this course is for:

  • Learners who want to learn PowerShell Regular Expressions to make efficient PowerShell Scripts and want to make their professional life easy