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
    Participant
    .
Viewing 1 reply thread
  • Author
    Posts
    • #186410
      A21
      Participant
      Topics: 1
      Replies: 0
      Points: 11
      Rank: Member

      Hello

      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.

      Thanks!

    • #186443
      Participant
      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.