ivaylosp <ivayl...@gmail.com> wrote: > User-Name = "1234abcdefg" > ............"12341234567"
> if (User-Name =~ /[1-4]{4}[A-Za-z0-9]{6}/) > This matches four numbers and then *six* alphanumerics; anywhere in your string (substr-esque)...might not be what you want? Did you mean to include a '/^....$/'? Cheers -- Alexander Clouter .sigmonster says: Old programmers never die, they just become managers. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html