I have a string that consists of
"some text \\computername.example.com\admin$".
How would I do a replace so my final result would be just "computername"
My problems appears to not knowing how to escape two backslashes. To keep things simple I would prefer not to use regexp :)
EDIT: Actually looks like stackoverflow is having problems with the double backslash as well, it should be a double backslash, not the single shown