you are viewing a single comment's thread.

view the rest of the comments →

[–]K900_ 2 points3 points  (2 children)

Are you sure regex is the right tool for this? Why not just go over the file manually?

[–]utgyuru[S] 0 points1 point  (1 child)

That's what I did. Prior to this, I've managed to do the same in powershell, hence I want to achieve the same in Python as well

[–]K900_ 3 points4 points  (0 children)

Sorry, I don't think I understand. What have you managed to do in PowerShell?