0

I want to check the text between [section3] and [section4] and insert a new line after line 4. How i can do it using powershell, any pointers to do that ?

Sample.txt

 [Section1]
 around 100Lines of text
[Section2]
 around 100Lines of text
[Section3]
Line1
Line2
Line3
Line4
Line5
Line6
[Section4]
100Lines of test
[Section5]
usr021986
  • 3,421
  • 14
  • 53
  • 64

0 Answers0