in reply to Re: Re: regex and getpwent()...
in thread regex and getpwent()...

Ouch! That's quite nasty looking...
Looks like I really need to get my head around regular expressions a bit better! 8)

Thanks for the help.