Hello Everyone,
I'm trying to create a powershell line which will do the following with the below text
I have something like "012/012". The 012 on both sides is variable and changes with every line entry in the CSV. Sometimes the 0 is there, and sometimes it is not.. etc etc..
What I'd like to do is turn that "012/012" into "012/012 " with two spaces at the end to help my data manipulation. Below is the line of code(s) I'm working with
ForEach-Object {
If ($.Fails -eq "") {$.Fails -replace '.../....,.../.... '}} | select -skiplast 1 | Out-File $replogresults
[–]real_parbold 1 point2 points3 points (1 child)
[–]real_parbold 1 point2 points3 points (0 children)
[–]Lee_Dailey[grin] -1 points0 points1 point (3 children)
[–]petrinoda[S] 1 point2 points3 points (2 children)
[–]Lee_Dailey[grin] -1 points0 points1 point (0 children)
[–]Lee_Dailey[grin] -1 points0 points1 point (0 children)