|
Hi, I have a bit of a problem. This is my string: \\dk-lm0400\ugs\ugs\ I want to grab ONLY dk-lm0400. The amount of slashes (folders) behind the server name (dk-lm0400) is variable. I would have assumed this would take care of it: \\\\(?<ServerName>\S+)\\ but it includes the first foldername aswell. How do i make sure the ServerName group ends at the first \ it meets? Nicolai Søndergaard
LM Glasfiber A/S |