oRegExp = CREATEOBJ('Vbscript.RegExp') oRegExp.global = .f. oRegExp.Pattern = "[^:]//(\w+[\w-]*\w\.)*\w+" * * Expression - find first occurance of // not preceded by :, trailed by at least one non-immediate . followed by a wordvalue sequence * allow any valid file constructor character set for a machine name; no whitespace * limits - lead character can't be -; in theory, whitespace is permitted in a machine name * lcRandomPlaceToStuffAString=oRegExp.Replace(this.Value,"WinNT://$1") && form ADSI prefix>Paul