All Questions
2
questions with no upvoted or accepted answers
0
votes
1
answer
735
views
How to delete a line based on a regex string in Powershell?
I want to validate if the line above a certain line is there, then ok. if else, then delete that line and remove the empty space ? Can this be done in powershell? please help
If before all lines ...
0
votes
1
answer
2k
views
How to implement regex on a powershell find and replace to quickly change file names in windows 10?
Hi I have a set of files in a folder (windows 10) that are named something like this:
asfdjlaksjfdi09908jfakl.part1.rar
aabdjkhihsdjkf.part2.rar
sdjklufia9798uiownlnsadkfasdFASDFrwe34342.part3.rar
... ...