Script to replace regex matches

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

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: 4
      Replies: 2238
      Points: 5,447
      Helping Hand
      Rank: Community MVP

      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
  • The topic ‘Script to replace regex matches’ is closed to new replies.