Mike Mohr wrote:

> My brain is not functioning at the moment, so I need help converting
> the following relative to HOSTALIAS.
>
> Hostname received               Hostname alias
> ================        ============
> wa4-7-38.aut.ac.nz              wa4.aut.ac.nz
> we707-157-41.aut.ac.nz  we707.aut.ac.nz
> wwlgp-13.aut.ac.nz              wwlgp.aut.ac.nz
> wc609.aut.ac.nz         wc609.aut.ac.nz
>

This should work:

HOSTALIAS REGEXP:^([^-]+)-[^\.]+(\.aut\.ac\.nz)$ $1$2

HTH,

Jeremy Wadsack
Wadsack-Allen Digital Group


------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------

Reply via email to