Script to replace regex matches

Welcome Forums General PowerShell Q&A Script to replace regex matches

  • This topic has 1 reply, 2 voices, and was last updated 1 month ago by
Viewing 1 reply thread
  • Author
    • #186410
      Topics: 1
      Replies: 0
      Points: 11
      Rank: Member


      Can you guide me please step-by-step to a script that will replace specific regex matches in a file?

      From loading the file, to read it, to performing the regex search, to replacing the text, to save the changed file.


    • #186443
      Topics: 1
      Replies: 1632
      Points: 3,074
      Helping Hand
      Rank: Community Hero

      Hello A21,

      I think it is beyond the scope of this (or any) forum to teach you step by step how to write a script. Please take the first steps by yourself and use a beginner book or an online tutorial to start to learn the very basics of Powershell.

      Good luck and have a lot of fun.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.