About 3,280,000 results
Open links in new tab
  1. regex - Matching strings in PowerShell - Stack Overflow

    Jul 18, 2018 · Preface: PowerShell string- comparison operators are case-insensitive by default (unlike the string operators, which use the invariant culture, the regex operators seem to use …

  2. Pass regex options to PowerShell [regex] type - Stack Overflow

    May 25, 2017 · Also, the first example shows that Powershell allows a string for a function parameter that expects an enumeration (value). Powershell substitutes the value for the …

  3. powershell - Regex IF condition - Stack Overflow

    Jun 8, 2017 · I'm looking for a way to filter new IP-Addresses in my host file. I created a script which updates my host file every time when I call it with data from the matrix enterprise …

  4. Powershell Replace String on regex match - Stack Overflow

    Regex details: ( # Match the regular expression below and capture its match into backreference number 1 \s # Match a single character that is a “whitespace character” (spaces, tabs, line …

  5. regex - How do I return only the matching regular expression …

    How do I return only the matching regular expression when I select-string (grep) in PowerShell? Asked 16 years, 6 months ago Modified 4 years ago Viewed 129k times

  6. How do you extract the value of a regex backreference/match in …

    How do you extract the value of a regex backreference/match in Powershell Asked 16 years, 8 months ago Modified 5 years, 4 months ago Viewed 37k times

  7. Extracting specific data from a string with regex and Powershell

    Sep 13, 2011 · Extracting specific data from a string with regex and Powershell Asked 14 years, 1 month ago Modified 11 months ago Viewed 107k times

  8. regex - PowerShell use regular expression to split a string - Stack ...

    Mar 18, 2015 · In PowerShell when you use a -split function if you have part of the match in brackets () you are asking for that match to be returned as well. I am sure that the same is true …

  9. How to capture multiple regex matches, from a single line, into the ...

    Jun 12, 2014 · What does (?<=jobs/) mean? ? matches 0 or 1 occurrence of the preceding character but I don't see a preceding character. I've also never seen and don't know what <= …

  10. Use Powershell to replace subsection of regex result

    Nov 12, 2013 · Using Powershell, I know how to search a file for a complicated string using a regex, and replace that with some fixed value, as in the following snippet: Get-ChildItem "*.txt" …