Hi, > if (User-Name =~ /^[A-z]+\\(.*)/) { not sure of that syntax for regex - char matching is a little more fussy, try this if (User-Name =~ /^[a-z]+\\(.*)/i) { alan