What I'm trying to do using PowerShell is to search a config file for a string of text with random amount of whitespace or tabs
Using
$mytext = '<add name="MyName"
dllPath="My.dll"
className="MyClass" />'
Select-String -Path $myfile -Pattern $mytext
I thought .replace(' ' , '')
might help with the view of just taking the whitespace out. I then thought, there are loads of smarter people than me on here!
Thanks in advance
Natty