Part 9- Regular Expressions Basics - Regex Patterns, How to use Regex in PowerShell - Part A

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ม.ค. 2025

ความคิดเห็น • 6

  • @shaiknadimkhan4558
    @shaiknadimkhan4558 2 ปีที่แล้ว +1

    Excellent session !!!

  • @robertkshetrimayum3072
    @robertkshetrimayum3072 ปีที่แล้ว

    i cant access to some of the topics

  • @abbeydudeuk
    @abbeydudeuk 5 ปีที่แล้ว +1

    shouldn't the H match [A-Z] instead of [a-z]?

    • @infiniteinstructor6422
      @infiniteinstructor6422  5 ปีที่แล้ว

      It will match , powershell is case insensitive by default , if you are specific about case use -cmatch

  • @abbeydudeuk
    @abbeydudeuk 5 ปีที่แล้ว +1

    "david.gutta@contoso.com" -match "[a-z]+\.[a-z]+@contoso.com"
    . No need to escape @ as it was not reg exp pattern. Any comments?
    True

    • @infiniteinstructor6422
      @infiniteinstructor6422  5 ปีที่แล้ว

      No need to escape for @, i tend to do that as i cant remember all characters that have a special meaning , so its a simple way to escape when you use symbols when you are not sure